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

Closed
spring-projects-issues opened this issue Dec 8, 2018 · 0 comments
Closed

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

spring-projects-issues opened this issue Dec 8, 2018 · 0 comments
Assignees
Labels
status: backported type: documentation
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues 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: https://docs.spring.io/spring/docs/5.1.3.RELEASE/spring-framework-reference/core.html#expressions-type-conversion

Referenced from: commits b00f98f, 288c97b, 474ac2d

Backported to: 5.0.12, 4.3.22

@spring-projects-issues spring-projects-issues added status: backported type: documentation labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 5.1.4 milestone Jan 11, 2019
This was referenced Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: backported type: documentation
Projects
None yet
Development

No branches or pull requests

2 participants