Stephane Nicoll
9cbd585c30
Polish "Join identical catch branches"
...
Closes gh-2052
7 years ago
igor-suhorukov
a218bf40cd
Join identical catch branches
...
See gh-2052
7 years ago
Rossen Stoyanchev
38ae282c3b
Update log category precision for all tests
...
Replace the full category capped at 36 chars with the class name only
and 1 char per package, e.g. org.apache.commons.Foo -> o.a.c.Foo
7 years ago
Juergen Hoeller
db63f7dd4a
StandardEvaluationContext.setVariable leniently ignores null name
...
Issue: SPR-17565
7 years ago
Hanope
bfb49c7249
Fix typos
...
See gh-2019
7 years ago
Juergen Hoeller
59fa647e2d
StandardEvaluationContext supports concurrent variable modification
...
Issue: SPR-17448
7 years ago
Juergen Hoeller
34663300a6
Avoid regex pattern matching for simple String replacement steps
...
Issue: SPR-17279
7 years ago
Juergen Hoeller
3abebb3799
Polishing
7 years ago
Juergen Hoeller
90a4740279
Polishing
7 years ago
Andy Clement
f87a37fd0d
Fix SpEL compilation for non trivial elvis operand
...
Issue: SPR-17214
7 years ago
Juergen Hoeller
95a56cd28d
Polishing
7 years ago
Juergen Hoeller
51cee658d5
SpelExpression consistently exposes EvaluationContext to compiled AST
...
Operator includes explicit support for Boolean comparisons now.
Issue: SPR-17229
7 years ago
stsypanov
457d586859
SPR-17074 pass argument of addAll/putAll into constructor
7 years ago
Juergen Hoeller
c4df335a1d
ReflectiveMethodExecutor invokes interface method if possible
...
Issue: SPR-16845
8 years ago
Juergen Hoeller
9c08a482d1
Prefer ArrayList/ArrayDeque over LinkedList for multi-element holders
...
LinkedList remains in place where a List is likely to remain empty or single-element (in order to avoid unused capacity).
Issue: SPR-17037
8 years ago
Juergen Hoeller
641039d85d
Polishing
8 years ago
Juergen Hoeller
8ad5299f4a
Polishing
8 years ago
Phillip Webb
a89e716cc7
Use tabs rather than spaces in tests
...
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968
8 years ago
Phillip Webb
1c25cec44f
Polish test code
...
Polish a few issue identified when adding checkstyle to the
build. Although checkstyle is not enforcing rules on tests,
these are a few minor changes that are still worth making.
Issue: SPR-16968
8 years ago
Phillip Webb
5cedd0d5d4
Consistently use tabs rather than spaces
...
Update code that has accidentally used spaces instead of tabs.
Also remove all trailing whitespace.
Issue: SPR-16968
8 years ago
Phillip Webb
be85bd8e09
Don't use `==` when comparing strings
...
Fix a few places where `==` was accidentally used to compare
strings.
Issue: SPR-16968
8 years ago
Phillip Webb
13729364ab
Consistently use only one statement per line
...
Ensure that only one statement is used per line.
Issue: SPR-16968
8 years ago
Phillip Webb
0b53c1096a
Always use 'this.' when accessing fields
...
Ensure that `this.` is used consistently when accessing class
fields.
Issue: SPR-16968
8 years ago
Phillip Webb
eeebd51f57
Use consistent class design
...
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968
8 years ago
Phillip Webb
866e9d702e
Use consistent block style
...
Update all code to use a consistent block style.
Issue: SPR-16968
8 years ago
Phillip Webb
e0480f75ac
Fix javadoc checkstyle issues
...
Fix checkstyle violations for javadoc.
Issue: SPR-16968
8 years ago
Juergen Hoeller
4aafbe5a84
Remove outdated javadoc references to SpEL lambda functions
...
Issue: SPR-16930
(cherry picked from commit 78d3164 )
8 years ago
Juergen Hoeller
e2ccd55d14
ReflectivePropertyAccessor uses computeIfAbsent for cache computation
...
Issue: SPR-16882
8 years ago
Juergen Hoeller
bfcc1a1f6a
ReflectivePropertyAccessor caches sorted methods per class
...
Issue: SPR-16882
8 years ago
Juergen Hoeller
c9f488363d
Fine-tuned assertions and related polishing
8 years ago
Stéphane GRILLON
c5278aa359
Remove unnecessary boxing
...
Closes gh-1817
8 years ago
Juergen Hoeller
ac1e2a4598
Consistent SpelEvaluationException messages in findAccessorForMethod
...
Includes abstract declarations for FormatHelper and ReflectionHelper.
Issue: SPR-16762
8 years ago
Juergen Hoeller
d4a55a257b
OperatorMatches flags misguided evaluation attempts as FLAWED_PATTERN
...
Issue: SPR-16731
8 years ago
Juergen Hoeller
d553ddc5b3
Nullability refinements (based on IntelliJ IDEA 2018.1 introspection)
...
Issue: SPR-15756
8 years ago
igor-suhorukov
93abe0e94b
All branches in a conditional structure should not have exactly the same implementation
8 years ago
Juergen Hoeller
08dad4e3ac
Consistent references to primitive types (in alphabetical order)
8 years ago
igor-suhorukov
8d2f64fe2d
Nested "enum"s should not be declared static
...
Closes gh-1759
8 years ago
Juergen Hoeller
b2d87abcbb
Polishing
8 years ago
Juergen Hoeller
c072c6deb5
Refined javadoc for SimpleEvaluationContext and its builder features
...
Issue: SPR-16588
8 years ago
Juergen Hoeller
c60cefa331
SimpleEvaluationContext.Builder withRootObject/withTypedRootObject
...
Issue: SPR-16588
8 years ago
Juergen Hoeller
9128226da4
SimpleEvaluationContext.Builder withMethodResolvers/withInstanceMethods
...
Includes DataBindingMethodResolver as ReflectiveMethodResolver subclass.
Issue: SPR-16588
8 years ago
Juergen Hoeller
38dcd179d5
Guidance of which PropertyAccessors to use with SimpleEvaluationContext
...
Issue: SPR-16588
8 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
8 years ago
Rossen Stoyanchev
19293b9847
SimpleEvaluationContext builder
...
Issue: SPR-16588
8 years ago
Juergen Hoeller
b5511645b8
DataBindingPropertyAccessor with factory methods (forReadOnlyAccess etc)
...
Includes configurable write support at ReflectivePropertyAccessor level.
Issue: SPR-16588
8 years ago
Juergen Hoeller
c1405ef140
Polishing
8 years ago
Juergen Hoeller
639d2c6fe7
Polishing
8 years ago
Juergen Hoeller
1fd5935afa
SimplePropertyAccessor with configurable write support
...
Issue: SPR-16588
8 years ago
Rossen Stoyanchev
cb8c6e3251
Add SimpleEvaluationContext
...
Issue: SPR-16588
8 years ago
Juergen Hoeller
3988dd9ebb
Polishing
8 years ago