This commit revises the contribution for gh-25921 in the following ways. - Use instanceof pattern matching - Use List.of() and Map.of() - Add missing @since tags - Polish Javadoc - Rename isNegativeNumber() to isNegativeNumberLiteral() - Restructure InlineCollectionTests using @Nested, etc. - Fix testListWithVariableNotCached() test: it previously set a SpEL "variable" but tested a "property" in the root context object, which effectively did not test anything. - Introduce additional tests: listWithPropertyAccessIsNotCached(), mapWithVariableIsNotCached(), and mapWithPropertyAccessIsNotCached(). |
||
---|---|---|
.. | ||
jmh/java/org/springframework/expression/spel | ||
main/java/org/springframework/expression | ||
test |