Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in SpEL Evaluation Context Sample [SPR-17581] #22113

spring-issuemaster opened this issue Dec 8, 2018 · 0 comments


Copy link

@spring-issuemaster spring-issuemaster commented Dec 8, 2018

Amir Pashazadeh opened SPR-17581 and commented

In the sample it is written

EvaluationContext context = SimpleEvaluationContext().forReadOnlyDataBinding().build();

but it must be

EvaluationContext context = SimpleEvaluationContext.forReadOnlyDataBinding().build();

And parentheses are redundant.

Affects: 5.1.3

Reference URL:

Referenced from: commits b00f98f, 288c97b, 474ac2d

Backported to: 5.0.12, 4.3.22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.