for Keith and his binder: fault in support for maps (if attempt made to reference into null map) and for general objects, e.g. foo.bar if foo was null, attempt to dynamically build foo.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1514 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
4b94f3b381
commit
41133bed8b
|
|
@ -217,8 +217,8 @@ public class ExpressionState {
|
|||
return (configuration & SpelExpressionParserConfiguration.GrowListsOnIndexBeyondSize)!=0;
|
||||
}
|
||||
|
||||
public boolean configuredToCreateCollection() {
|
||||
return (configuration & SpelExpressionParserConfiguration.CreateListsOnAttemptToIndexIntoNull)!=0;
|
||||
public boolean configuredToCreateCollectionOrMap() {
|
||||
return (configuration & SpelExpressionParserConfiguration.CreateObjectIfAttemptToReferenceNull)!=0;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue