mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-09 16:49:36 +00:00
SPR-5673: more intelligence in TemplateAwareExpressionParser. Supports prefix/suffix escaping and nesting of prefixes/suffixes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1000 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -123,7 +123,7 @@ public class Selection extends SpelNodeImpl {
|
||||
}
|
||||
}
|
||||
if ((variant == FIRST || variant == LAST) && result.size() == 0) {
|
||||
return null;
|
||||
return TypedValue.NULL_TYPED_VALUE;
|
||||
}
|
||||
if (variant == LAST) {
|
||||
return new TypedValue(result.get(result.size() - 1),TypeDescriptor.valueOf(op.getTypeDescriptor().getElementType()));
|
||||
|
||||
Reference in New Issue
Block a user