Spring Buildmaster
63bff1f068
Increment version to 3.1.5.BUILD-SNAPSHOT
13 years ago
Spring Buildmaster
e7d2ac4427
Release version 3.1.4.RELEASE
13 years ago
Juergen Hoeller
e5783b1bfa
SpEL support for static finals on interfaces
...
Issue: SPR-10125
Backport-Issue: SPR-10174
13 years ago
Phillip Webb
42ab04a299
Remove accidentally committed interface @Override
13 years ago
Phillip Webb
5ae706ee10
Consider bridge methods in SpEL properties
...
Revert ReflectivePropertyAccessor changes from 107fafb and instead
consider all methods when resolving properties. Methods are now
sorted such that non-bridge methods are considered before bridge
methods.
Issue: SPR-10162
Backport-Commit: fce7adc400
13 years ago
Juergen Hoeller
8abe1f055e
SpEL correctly handles "is" accessors with Boolean return type
...
Issue: SPR-10091
13 years ago
Juergen Hoeller
12c4f8e7f9
Polishing
13 years ago
Juergen Hoeller
2ec41af799
ReflectivePropertyAccessor should not consider bridge methods
...
Issue: SPR-9995
Backport-Issue: SPR-9994
13 years ago
Spring Buildmaster
e0b29b708c
Increment version to 3.1.4.BUILD-SNAPSHOT
13 years ago
Spring Buildmaster
6c36240055
Release version 3.1.3.RELEASE
13 years ago
Phillip Webb
4525527794
SpEL support for methods and properties on class …
...
Update the ReflectiveMethodResolver and ReflectivePropertyAccessor
to allow methods and properties of java.lang.Class to be resolved
when the target object is a class.
Issue: SPR-9017
Backport-Commit: d28592a6c6
13 years ago
Chris Beams
4cee691d09
Remove accidentally introduced SpEL test method
...
SpringEL300Tests's #testArray method was originally introduced with
SPR-9203, which has not yet been backported to 3.1.x. During the process
of backporting SPR-9486 functionality, this method was accidentally
introduced, causing false negative test failures. This commit removes
the offending test method.
Issue: SPR-9203, SPR-9486
13 years ago
Chris Beams
347737290e
Update SpEL test to reflect native float support
...
Issue: SPR-9486
Backport-Commit: 59fb67e38d
13 years ago
Satyapal Reddy
a94677e7b6
Add SpEL support for float literals
...
This change ensures that SpEL expressions involving floats are
supported natively as opposed to the previous behavior which required
conversion to double, leading to potential downstream conversion
ambiguities.
Issue: SPR-9486
Backport-Commit: be8f23d756
13 years ago
Juergen Hoeller
ad81ec922b
OpDivide does not return a TypedValue for its operate result (consistent with OpMultiply)
...
Issue: SPR-9869
13 years ago
Spring Buildmaster
671f97721f
Increment version to 3.1.3.BUILD-SNAPSHOT
14 years ago
Spring Buildmaster
49f728eae8
Release version 3.1.2.RELEASE
14 years ago
Spring Buildmaster
b32a365f14
Increment version to 3.1.2.BUILD-SNAPSHOT
14 years ago
Spring Buildmaster
79c9ca1a26
Release version 3.1.1.RELEASE
14 years ago
Andy Clement
90bed9718f
Allow customization of SpEL method resolution
...
This change introduces a protected ReflectiveMethodResolver#getMethods,
allowing subclasses to specify additional static methods not
declared directly on the type being evaluated. These methods then become
candidates for filtering by any registered MethodFilters and ultimately
become available within for use within SpEL expressions.
Issue: SPR-9038
14 years ago
Chris Beams
c7fd03be69
Polish ReflectiveMethodResolver and unit tests
...
- Update Javadoc
- Fix whitespace errors (tabs v. spaces, trailing spaces)
- Break at 90 chars where sensible
- Remove dead test code
- Fix generics warnings, remove @SuppressWarnings
14 years ago
Chris Beams
87a021d5c9
Add <license> section to 3.1.x Maven poms
...
Issue: SPR-8927
14 years ago
Chris Beams
41c405998e
Convert CRLF=>LF on files missed earlier
...
Complete pass with `dos2unix` found additional files missed on earlier
related commit.
Issue: SPR-5608
14 years ago
Chris Beams
88913f2b23
Convert CRLF (dos) to LF (unix)
...
Prior to this change, roughly 5% (~300 out of 6000+) of files under the
source tree had CRLF line endings as opposed to the majority which have
LF endings.
This change normalizes these files to LF for consistency going forward.
Command used:
$ git ls-files | xargs file | grep CRLF | cut -d":" -f1 | xargs dos2unix
Issue: SPR-5608
14 years ago
Chris Beams
e158f61e93
Increment version to 3.1.1.BUILD-SNAPSHOT
14 years ago
Chris Beams
ac107d0c2a
Release Spring Framework 3.1.0.RELEASE
14 years ago
Juergen Hoeller
aa7fcb5431
polishing
14 years ago
Juergen Hoeller
81e9f6cc2c
fixed setRootObject check in StandardEvaluationContext (SPR-8241)
14 years ago
Chris Beams
a53d592f62
Use 'name' vs 'key' consistently in PropertySource
14 years ago
Chris Beams
70c28a0bc5
Add Apache license header where missing in src/main
14 years ago
Juergen Hoeller
1cea52b66b
renamed mapKey/ValueTypeDescriptor methods back to getMapKey/ValueTypeDescriptor (for Spring 3.0.x compatibility)
14 years ago
Sam Brannen
1de71c6e37
[SPR-8222] Upgraded to JUnit 4.9.
15 years ago
Sam Brannen
87dad65ff0
[SPR-8622] Upgraded to JUnit 4.8.2
15 years ago
Juergen Hoeller
c68021760d
fixed TypeDescriptor rendering (SPR-8508)
15 years ago
Juergen Hoeller
c60511bf04
shortened build properties "org.junit.version" to "junit.version" and "org.testng.version" to "testng.version"; reverted SLF4J version back to 1.5.3 (for Hibernate 3.3.1 compatibility)
15 years ago
Juergen Hoeller
fc11102e34
updated dependencies
15 years ago
Keith Donald
1e39b0bbbc
implemented collection/map converter conditional matching checks; updated SpEL to reflect this behavior
15 years ago
Keith Donald
5e3a5202fb
restored TypeDescriptor getElementType, getMapKeyType, and getMapValueType compatibility; StringToCollection and Array Converters are now conditional and check targetElementType if present; TypeDesciptor#isAssignable no longer bothers with element type and map key/value types in checking assignability for consistency elsewhere; improved javadoc
15 years ago
Keith Donald
cfb387383b
broke out to top-level class for readability
15 years ago
Keith Donald
c09227a712
removed dependency on java.beans
15 years ago
Keith Donald
94d690fb2c
javadoc and polishing
15 years ago
Keith Donald
9ece4a88a9
perform narrowing in reflective property accessor read methods as well
15 years ago
Keith Donald
c306afed63
polishing
15 years ago
Keith Donald
c84cccf06d
revised TypeDescriptor NULL and element/mapKey/mapValue type semantics
15 years ago
Keith Donald
5db1687d29
added TypeDescriptor resolveCollectionElement and Map key/value types
15 years ago
Keith Donald
6f146737f4
simplified TypeDescriptor usage and updated use of the API across BeanWrapper and SpEL; collapsed PropertyTypeDescriptor into TypeDescriptor for simplicity and ease of use; improved docs
15 years ago
Keith Donald
79f9d1cfc6
moved applyIndexedObject internal, now invoked inside forObject static factory method
15 years ago
Andy Clement
f8a2dd3f65
SPR-8211: property accessor ordering correction and removal of unnecessary duplicates
15 years ago
Andy Clement
580f35f6ee
SFW-8228
15 years ago
Andy Clement
2f733bedc5
SFW-8224: distance can be used when computing method matches in ReflectiveMethodResolver
15 years ago