File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -239,10 +239,10 @@ being placed in it. The following example shows how to do so:
239
239
Simple simple = new Simple();
240
240
simple.booleanList.add(true);
241
241
242
- EvaluationContext context = SimpleEvaluationContext() .forReadOnlyDataBinding().build();
242
+ EvaluationContext context = SimpleEvaluationContext.forReadOnlyDataBinding().build();
243
243
244
- // false is passed in here as a string . SpEL and the conversion service
245
- // correctly recognize that it needs to be a Boolean and convert it
244
+ // " false" is passed in here as a String . SpEL and the conversion service
245
+ // will recognize that it needs to be a Boolean and convert it accordingly.
246
246
parser.parseExpression("booleanList[0]").setValue(context, simple, "false");
247
247
248
248
// b is false
You can’t perform that action at this time.
0 commit comments