We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6eb0a60 commit 474ac2dCopy full SHA for 474ac2d
src/docs/asciidoc/core/core-expressions.adoc
@@ -239,10 +239,10 @@ being placed in it. The following example shows how to do so:
239
Simple simple = new Simple();
240
simple.booleanList.add(true);
241
242
- EvaluationContext context = SimpleEvaluationContext().forReadOnlyDataBinding().build();
+ EvaluationContext context = SimpleEvaluationContext.forReadOnlyDataBinding().build();
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
+ // "false" is passed in here as a String. SpEL and the conversion service
+ // will recognize that it needs to be a Boolean and convert it accordingly.
246
parser.parseExpression("booleanList[0]").setValue(context, simple, "false");
247
248
// b is false
0 commit comments