-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate local variable support in SpEL's internal ExpressionState
Since the Spring Expression Language does not actually support local variables in expressions, this commit deprecates all public APIs related to local variables in ExpressionState (namely, the two enterScope(...) variants that accept local variable data, setLocalVariable(), and lookupLocalVariable()). In addition, we no longer invoke `state.enterScope("index", ...)` in the Projection and Selection AST nodes since the $index local variable was never accessible within expressions anyway. See gh-23202 Closes gh-32004
- Loading branch information
Showing
4 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters