SPR-5673: more intelligence in TemplateAwareExpressionParser. Supports prefix/suffix escaping and nesting of prefixes/suffixes
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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