Juergen Hoeller
4aafbe5a84
Remove outdated javadoc references to SpEL lambda functions
...
Issue: SPR-16930
(cherry picked from commit 78d3164
)
7 years ago
Juergen Hoeller
e2ccd55d14
ReflectivePropertyAccessor uses computeIfAbsent for cache computation
...
Issue: SPR-16882
7 years ago
Juergen Hoeller
bfcc1a1f6a
ReflectivePropertyAccessor caches sorted methods per class
...
Issue: SPR-16882
7 years ago
Juergen Hoeller
c9f488363d
Fine-tuned assertions and related polishing
7 years ago
Stéphane GRILLON
c5278aa359
Remove unnecessary boxing
...
Closes gh-1817
7 years ago
Juergen Hoeller
ac1e2a4598
Consistent SpelEvaluationException messages in findAccessorForMethod
...
Includes abstract declarations for FormatHelper and ReflectionHelper.
Issue: SPR-16762
7 years ago
Juergen Hoeller
d4a55a257b
OperatorMatches flags misguided evaluation attempts as FLAWED_PATTERN
...
Issue: SPR-16731
7 years ago
Juergen Hoeller
d553ddc5b3
Nullability refinements (based on IntelliJ IDEA 2018.1 introspection)
...
Issue: SPR-15756
7 years ago
igor-suhorukov
93abe0e94b
All branches in a conditional structure should not have exactly the same implementation
7 years ago
Juergen Hoeller
08dad4e3ac
Consistent references to primitive types (in alphabetical order)
7 years ago
igor-suhorukov
8d2f64fe2d
Nested "enum"s should not be declared static
...
Closes gh-1759
7 years ago
Juergen Hoeller
b2d87abcbb
Polishing
7 years ago
Juergen Hoeller
c072c6deb5
Refined javadoc for SimpleEvaluationContext and its builder features
...
Issue: SPR-16588
7 years ago
Juergen Hoeller
c60cefa331
SimpleEvaluationContext.Builder withRootObject/withTypedRootObject
...
Issue: SPR-16588
7 years ago
Juergen Hoeller
9128226da4
SimpleEvaluationContext.Builder withMethodResolvers/withInstanceMethods
...
Includes DataBindingMethodResolver as ReflectiveMethodResolver subclass.
Issue: SPR-16588
7 years ago
Juergen Hoeller
38dcd179d5
Guidance of which PropertyAccessors to use with SimpleEvaluationContext
...
Issue: SPR-16588
7 years ago
Juergen Hoeller
51c57d77d9
SimpleEvaluationContext with dedicated factory methods for common cases
...
Aligned with DataBindingPropertyAccessor and shown in ref doc examples.
Issue: SPR-16588
7 years ago
Rossen Stoyanchev
19293b9847
SimpleEvaluationContext builder
...
Issue: SPR-16588
7 years ago
Juergen Hoeller
b5511645b8
DataBindingPropertyAccessor with factory methods (forReadOnlyAccess etc)
...
Includes configurable write support at ReflectivePropertyAccessor level.
Issue: SPR-16588
7 years ago
Juergen Hoeller
c1405ef140
Polishing
7 years ago
Juergen Hoeller
639d2c6fe7
Polishing
7 years ago
Juergen Hoeller
1fd5935afa
SimplePropertyAccessor with configurable write support
...
Issue: SPR-16588
7 years ago
Rossen Stoyanchev
cb8c6e3251
Add SimpleEvaluationContext
...
Issue: SPR-16588
7 years ago
Juergen Hoeller
3988dd9ebb
Polishing
7 years ago
Andy Clement
1db7e02de3
Modify SpEL code gen to take account of null safe refs
...
With this change the code generation for method and property
references is modified to include branching logic in the
case of null safe dereferencing (?.). This is complicated
by the possible usage of primitives on the left hand side
of the dereference. To cope with this case primitives are
promoted to boxed types when this situation occurs enabling
null to be passed as a possible result.
Issue: SPR-16489
7 years ago
Juergen Hoeller
04a8f81710
Polishing
7 years ago
Juergen Hoeller
139dc1d373
Polishing (collapsed if checks, consistent downcasts, refined javadoc)
7 years ago
igor-suhorukov
0f7485b01d
Polish: reorder the modifiers to comply with the Java Language Specification.
7 years ago
Juergen Hoeller
c543368aad
Polishing
7 years ago
igor-suhorukov
06fef1e5a4
Polish: assertion arguments should be passed in the correct order
7 years ago
Juergen Hoeller
fa670dd07d
Indexer enforces target descriptor only after non-null target check
...
Issue: SPR-16544
7 years ago
igor-suhorukov
c782075a13
Polish: Array designators "[]" should be on the type, not the variable
7 years ago
Juergen Hoeller
3531c104b0
Prefer Collections.addAll call with array over Set.addAll(Arrays.asList)
7 years ago
Juergen Hoeller
a5cbf5fe24
Consistent use of Collection.toArray with zero-sized array argument
...
Includes consistent use of ClassUtils.toClassArray (as non-null variant)
Issue: SPR-16523
7 years ago
Juergen Hoeller
3b810f3544
Consistent Class array vs vararg declarations (and related polishing)
7 years ago
igor-suhorukov
45e520ed86
Polish: remove unused private fields, remove empty operator
7 years ago
Juergen Hoeller
d5cabca2f7
Internal adaptation to Deque semantics
7 years ago
igor-suhorukov
711b0f50f2
Polish: replace the synchronized class "Stack" by an unsynchronized one such as "Deque".
7 years ago
Juergen Hoeller
b5bd977d9a
Revised assertion refactoring in AbstractExpressionTests
7 years ago
igor-suhorukov
0ee505b73e
Polish: assertion arguments should be passed in the correct order,
...
use assertNull instead of assertEquals(null, value),
declare delta as double value in assertEquals
7 years ago
igor-suhorukov
9a6fbf59c5
Polish: follow name convention - make immutable fields final
7 years ago
igor-suhorukov
4c888d0f32
Polish
...
Closes gh-1669
7 years ago
Juergen Hoeller
572c668726
Polishing
7 years ago
Juergen Hoeller
06e6386dc9
CollectionUtils.lastElement for common Set/List extraction
...
Issue: SPR-16374
7 years ago
Juergen Hoeller
4a57e26d76
Polishing
7 years ago
Juergen Hoeller
6a1fe0b1d0
FunctionReference's method field is volatile
...
Issue: SPR-16255
7 years ago
Juergen Hoeller
c30145d6f9
MethodReference treats proxy-targeting expressions as non-compilable
...
Issue: SPR-16191
7 years ago
Juergen Hoeller
78284a62e2
Polishing
7 years ago
Juergen Hoeller
419b4440a7
Introspect interface-declared methods in case of proxy (for varargs)
...
Issue: SPR-16122
7 years ago
Juergen Hoeller
fd6f2bd6a4
Test for null value against boolean property
...
Issue: SPR-16123
7 years ago