spring-framework/spring-expression/src
Sam Brannen 5ad853ef5b Do not precede indexed access with a dot in SpEL AST representation
Prior to this commit, if a Spring Expression Language (SpEL) expression
contained indexed access to an object, the generated AST String
representation incorrectly included a dot ('.') before the index access.

For example, 'property[0]' had a generated AST string representation of
'property.[0]'.

This commit addresses this by reworking the logic in
CompoundExpression.toStringAST().

Closes gh-30610
2023-06-07 14:45:52 +02:00
..
jmh/java/org/springframework/expression/spel
main/java/org/springframework/expression Do not precede indexed access with a dot in SpEL AST representation 2023-06-07 14:45:52 +02:00
test Do not precede indexed access with a dot in SpEL AST representation 2023-06-07 14:45:52 +02:00