Incorrect SpEL example in reference documentation [SPR-16111] #20659
Labels
status: backported
An issue that has been backported to maintenance branches
type: documentation
A documentation task
Milestone
Sviatoslav Hryb opened SPR-16111 and commented
Spring Framework Reference Core Technologies https://docs.spring.io/spring/docs/current/spring-framework-reference/pdf/core.pdf contains incorrect code fragment in section
4.5.6. Methods
.The incorrect code fragment is: ```
// string literal, evaluates to "bc"
String c = parser.parseExpression("'abc'.substring(2, 3)").getValue(String.class);
Referenced from: commits f965123, 5867ea0
Backported to: 4.3.13
The text was updated successfully, but these errors were encountered: