Keith Donald
ca29f3be5e
converter caching
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3265 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-18 21:43:00 +00:00
Juergen Hoeller
21be98a8b5
fixed @ExceptionHandler resolution in case of multiple matches at different inheritance levels (SPR-7085)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3264 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-18 18:48:24 +00:00
Keith Donald
b4a9591e40
preserving desc context for collection/map elements
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3263 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-18 14:09:41 +00:00
Keith Donald
53398416ec
promoted char sequence first
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3261 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 20:22:30 +00:00
Keith Donald
ef2409017c
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3260 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 06:47:08 +00:00
Keith Donald
90fb3dcfe3
fixed failing test
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3258 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 06:28:06 +00:00
Keith Donald
21a9cb510f
fixed failing test
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3257 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 04:50:01 +00:00
Keith Donald
3c87a49b3c
no longer used
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3256 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 04:43:54 +00:00
Keith Donald
eca3e5d0b8
improved conversion system logging, collection converter simplification/polish, several optimizations, annotation-driven formatting caching
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3255 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 04:43:28 +00:00
Juergen Hoeller
7c04f12f73
PropertyTypeDescriptor detects underlying field with same lenient naming rules as CachedIntrospectionResults (SPR-7102)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3253 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-16 15:39:23 +00:00
David Syer
faa0f29f0f
Update version in POMs to 3.0.3
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3246 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-15 10:26:14 +00:00
Juergen Hoeller
450b60b11b
call setAccessible for public final field too (SPR-7078)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3236 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-08 12:15:18 +00:00
Juergen Hoeller
98310aede8
specific detection of CGLIB subclasses in order to properly handle CGLIB interfaces (SPR-7066)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3228 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-06 11:52:42 +00:00
Ramnivas Laddad
c340cf02e0
Improved fix for SPR-6850 by dealing with bounds separately from normal types
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3220 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-01 23:37:08 +00:00
Juergen Hoeller
ab513c23c9
fixed ambiguous reference to Entry type
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3214 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-01 10:36:57 +00:00
Juergen Hoeller
06342b82d6
ResourcePatternUtils provides plain PathMatchingResourcePatternResolver in case of a null ResourceLoader
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3213 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-01 10:35:49 +00:00
Juergen Hoeller
45c82a6197
fixed collection element conversion using ConversionService (SPR-6950)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3176 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-25 15:02:19 +00:00
Chris Beams
673373b448
corrected TypeUtils.isAssignable() failure to return true in certain valid wildcard bounding scenarios (SPR-6850)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3171 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-25 10:33:25 +00:00
Juergen Hoeller
74705a7aea
revised BeanTypeDescriptor into core PropertyTypeDescriptor; consider method annotations for return type (SPR-6979)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3162 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-24 16:27:33 +00:00
Chris Beams
fe84bf9b92
SPR-6888: ClassPathResource.getDescription() now fully qualifies resource path regardless of constructor used.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3133 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-22 14:54:39 +00:00
Christian Dupuis
2f6747ae85
SPR-6977: updated copyright; added method comment
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3092 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-12 16:10:03 +00:00
Christian Dupuis
b81adebd6e
SPR-6977: added support for array parameter types
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3091 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-12 15:09:24 +00:00
Juergen Hoeller
50c8258e26
fixed TypeDescriptor toString for MethodParameter annotations (SPR-6924)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3051 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-04 13:50:43 +00:00
Chris Beams
4a410d0466
Removed hard-coded local path from .core/.classpath; removed duplicate asm entry in .context/.classpath
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3024 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-22 01:55:38 +00:00
David Syer
25ef81476d
Update Central POMs to 3.0.2
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3022 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-21 15:32:18 +00:00
Costin Leau
4be6044db9
+ make use or property placeholders inside template.mf
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3014 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-19 09:43:22 +00:00
Juergen Hoeller
cddadd2fd5
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2993 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-16 18:21:25 +00:00
Keith Donald
7a3fe2081c
spring:eval tag initial commit
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2956 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-11 22:53:49 +00:00
Juergen Hoeller
588e320284
canConvert checks Collection/Map element types as well (SPR-6564)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2954 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-11 12:23:57 +00:00
Costin Leau
b58491749d
+ fixed internal caching for LocalVariableTableParameterNameDiscoverer
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2952 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-11 11:35:39 +00:00
Costin Leau
2ef3c81210
+ improved javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2951 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-11 10:38:59 +00:00
Costin Leau
c4b67ba0e5
+ improved LocalVariableTableParameterNameDiscoverer discovery and memory usage
...
+ added extra tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2950 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-11 10:38:33 +00:00
Juergen Hoeller
1dc7cd563c
fixed lookup log message (SPR-6746)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2928 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 18:40:39 +00:00
Chris Beams
f86e3bcfd2
Updated Eclipse .classpath to aspectj 1.6.8
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2920 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 13:45:14 +00:00
Costin Leau
5e677feda0
+ upgrade to AspectJ 1.6.8
...
+ externalize some of the jar versions
+ align the versions of some dependencies between pom.xml and ivy.xml
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2918 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 11:46:21 +00:00
Costin Leau
988d6e7f8a
SPR-6775
...
+ remove class definitions for sticking around (by forcing eager metadata initialization)
+ improve cache size by eliminating the numbers of method metadata objects created
+ improve lookup access on method metadata
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2874 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-29 14:27:49 +00:00
Costin Leau
2130d7f7e7
SPR-6775
...
+ increase size to 256
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2873 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-28 16:03:07 +00:00
Costin Leau
898a30ae3f
SPR-6775
...
+ replace the vanilla hashmap with a quick-and-dirty, JDK based, fixed LRU cache
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2872 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-28 15:51:20 +00:00
Juergen Hoeller
3c77f3ea67
LinkedMultiValueMap should implement Serializable (SPR-6765)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2861 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-25 20:04:01 +00:00
Juergen Hoeller
61c1b4fc9e
accept Set<?> instead of Set<Object> (SPR-6742)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2850 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-22 10:03:13 +00:00
Juergen Hoeller
ca644b743a
removed Commons Collection reference from javadoc (SPR-6716)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2835 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-19 14:20:54 +00:00
Juergen Hoeller
09ae925ee2
proceed in case of resolution failure for a single resource entry in the list
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2831 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-18 18:27:30 +00:00
Arjen Poutsma
7cee45d74d
Test for SPR-6690
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2815 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-15 11:17:27 +00:00
Juergen Hoeller
247b694fec
fixed resolveRootDirResource regression (SPR-6592)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2810 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-13 18:24:16 +00:00
David Syer
e6d2f9428c
SPR-6678: fix poms for 3.0.1
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2809 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-13 11:07:08 +00:00
Juergen Hoeller
fd915f1d92
unresolvable placeholders will be ignored by default for Resource array properties as well (SPR-6654)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2807 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-12 19:50:18 +00:00
Juergen Hoeller
4b46db27a9
fixed type assignability check for wildcarded Map (SPR-6676)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2806 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-12 15:31:30 +00:00
Juergen Hoeller
38a720b387
expose offending value through public "getValue()" method (SPR-6629)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2789 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-07 13:27:40 +00:00
Chris Beams
2887b74448
Resolved SPR-6618. Restrictions were too tight on overloaded bean methods and were preventing it altogether. Overloading is now allowed, as long as there is no ambiguity at runtime which bean method should be invoked.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2745 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-30 19:42:12 +00:00
Juergen Hoeller
5edc17473d
generic ApplicationListener event type gets detected through proxy as well
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2723 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-28 18:57:15 +00:00
Juergen Hoeller
55557b778f
use TypeDescriptor.forObject instead of constructor; enforce use of TypeDescriptor.valueOf through making the constructor private
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2683 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 20:18:31 +00:00
Keith Donald
7c138f1692
primitive desc caching
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2682 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 19:55:10 +00:00
Keith Donald
b34a2ab777
TypeDescriptor.valueOf usage in favor of constants; TypedValue usage simplification
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2681 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 19:41:52 +00:00
Keith Donald
f0f8f56a1e
moved public methods up
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2680 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 18:51:28 +00:00
Keith Donald
ad2f7663eb
moved static factory methods up
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2679 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 18:50:17 +00:00
Keith Donald
d970ed678f
value of optmization
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2677 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 17:52:52 +00:00
Keith Donald
25b0839597
object to String not supported test case
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2676 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 16:07:43 +00:00
Keith Donald
f983f6c4d5
ObjectToObject converter now only matches public methods/constructors; private class method invocations also supported now through a makeAccessible call
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2675 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 15:53:11 +00:00
Keith Donald
6478829a47
general polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2674 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 15:09:25 +00:00
Keith Donald
709cdb97c0
removed generic warning
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2673 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 14:00:27 +00:00
Juergen Hoeller
246bb34e08
introspect element type in case of incoming Collection/Map in order to not accidentally say canConvert=true (SPR-6564)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2671 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 12:36:22 +00:00
Juergen Hoeller
95d1eccd65
refined PropertyEditor exposure for the ConversionService case
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2670 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 11:34:19 +00:00
Juergen Hoeller
18336e3732
introduced TypeDescriptor.OBJECT and TypeDescriptor.STRING
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2668 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 10:21:16 +00:00
Juergen Hoeller
18ec90aff9
revised default converters; renamed ConverterRegistry's addGenericConverter to addConverter
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2658 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 21:14:26 +00:00
Keith Donald
6d871ab45b
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2630 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-11 18:26:12 +00:00
Keith Donald
c26f2d49a9
removed unused method; polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2629 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-11 18:24:44 +00:00
Keith Donald
1b667021e4
removed generic warning
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2628 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-11 18:19:43 +00:00
Keith Donald
b9296d7c9d
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2627 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-11 18:16:38 +00:00
Keith Donald
b3203cb100
javadoc polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2626 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-11 17:56:41 +00:00
Keith Donald
e07fcfeba2
javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2625 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-11 16:55:33 +00:00
Keith Donald
36d333af1d
broke out collection to string converter logic from collection to object
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2624 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-11 14:45:21 +00:00
Keith Donald
46cb691cf8
SPR-6537 initial commit; more extensive testing to follow
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2619 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-10 17:36:58 +00:00
Keith Donald
44cafc86f9
removed generic warning
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2618 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-10 16:21:30 +00:00
Juergen Hoeller
fa07470e40
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2613 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 17:54:02 +00:00
Juergen Hoeller
f210b452d7
revised GenericConverter's "getConvertibleTypes()" signature to return Set of ConvertiblePair
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2611 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 17:52:19 +00:00
Juergen Hoeller
ed5de705ac
GenericConversionService prefers matches against inherited interfaces over superclasses (SPR-6297)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2610 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 16:16:55 +00:00
Arjen Poutsma
6ac29a70e9
SPR-6502 - Broken @RequestMapping inheritance
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2594 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 16:44:51 +00:00
Arjen Poutsma
b96070163e
SPR-6482 - @RequestMapping handled incorrectly when value contains "." (dot) character
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2589 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 13:59:07 +00:00
David Syer
64534cc278
SPR-5327: tweak the build.xml for core to try and make commons-logging optional in generated poms
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2580 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 18:26:25 +00:00
David Syer
2bad74c238
SPR-5327: tweak the ivy.xml so that commons-logging is a separate configuration. It already comes out as optional in the generated poms (including core), which isn't great, but I can't see what is causing that
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2579 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 18:25:31 +00:00
Juergen Hoeller
54f6989469
full support for formatters on array/collection elements (SPR-6504)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2569 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 00:34:40 +00:00
Juergen Hoeller
ba76059f1a
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2557 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-01 02:45:12 +00:00
David Syer
9b7928b808
SPR-5327: tidy up Maven dependencies (keeping commons-logging)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2548 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 12:56:25 +00:00
Keith Donald
e0cd89a139
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2528 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 04:31:09 +00:00
Juergen Hoeller
5f212a34e6
FormatterRegistry extends ConverterRegistry now; FormattingConversionService extends GenericConversionService
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2526 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:58:31 +00:00
Juergen Hoeller
f51ad17a86
replaced custom asList method with Arrays.asList(ObjectUtils.toObjectArray(...))
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2520 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:35:45 +00:00
Juergen Hoeller
2f2444ff13
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2519 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:34:56 +00:00
Juergen Hoeller
52ecb95243
removed obsolete System.err logging for the property-not-found case
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2518 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:28:54 +00:00
Juergen Hoeller
37d4c4095b
removed inappropriate assertion that prevents static method calls
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2517 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:03:48 +00:00
Juergen Hoeller
f0981ecdb1
leniently fall back to the passed-in method if a bridge method couldn't be resolved (for Groovy 1.7 compatibility)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2509 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-25 16:55:13 +00:00
Arjen Poutsma
c2b7b406c4
SPR-6280 - PathVariable resolution does not work properly
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2499 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-24 13:53:37 +00:00
Keith Donald
c52f5a696a
removed entity to string id conversion routine as it is not required
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2495 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-23 00:07:39 +00:00
Keith Donald
5bbb38479d
Added entity conveter null checking; updated from string converters to simply test str.length() as pre-processing check
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2494 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-22 15:40:41 +00:00
Keith Donald
f4a9460bc6
moved test case where it belongs
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2493 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 18:36:40 +00:00
Keith Donald
101a0667f3
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2492 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 18:34:04 +00:00
Keith Donald
71c88d39bd
additional javadoc and tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2491 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 18:30:34 +00:00
Keith Donald
9d1daf3232
found hotspot; added ConverisonServiceFactoryBean
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2473 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 14:43:12 +00:00
David Syer
5ad4d199cc
Add some tests (and comment out the one that is breaking the build)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2470 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 13:36:57 +00:00
Keith Donald
e1463010f4
doc updates
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2467 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 05:00:28 +00:00
Juergen Hoeller
39bf8dc02e
added chaining-capable "add" method to MutablePropertyValues
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2462 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:30:35 +00:00
Keith Donald
61495fb127
improved toString method
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2460 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:16:06 +00:00
Keith Donald
02609fde0e
default conversion service instance caching and tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2453 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 15:27:15 +00:00
Keith Donald
f6ee598cd3
default conversion service instance caching and tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2452 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 15:23:56 +00:00
Keith Donald
6137e740f2
default conversion service instance caching and tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2451 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 15:22:44 +00:00
Keith Donald
71ca7192ca
removed converter matcher since its not used directly
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2450 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 14:48:41 +00:00
Keith Donald
a15c8635a9
moved generic converter to spi; added entity converter; removed various service impls in favor of service factory
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2448 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 09:11:19 +00:00
Keith Donald
12b6feacac
moved generic converter to spi; added entity converter; removed various service impls in favor of service factory
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2447 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 09:10:51 +00:00
David Syer
62570a8e82
RESOLVED - issue SPR-6366: Cannot import bean definitions using classpath*: resource location
...
http://jira.springframework.org/browse/SPR-6366
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2445 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-18 07:54:19 +00:00
Keith Donald
449889af84
SPR-6350
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2435 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-14 05:44:46 +00:00
David Syer
cc30c87a29
RESOLVED - issue SPR-6321: Regression: ResourceEditor in 3.0 does not ignore unresolvable placeholders, but it did in 2.5.6
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2394 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 11:07:15 +00:00
Keith Donald
fd45d264bd
updated test to reflect correct behavior
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2385 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 07:13:00 +00:00
Keith Donald
e9b484b20e
fixed failing tests due to generic object to object converter fallback being over eager
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2383 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 06:57:51 +00:00
Keith Donald
9cf4dce9ff
valueOf and Constructor-based conversion of source objects to targetTypes
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2381 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 05:25:03 +00:00
Juergen Hoeller
006f300410
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2373 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 02:27:31 +00:00
Juergen Hoeller
d37875b4e9
turned FormattingPropertyEditorAdapter into ConvertingPropertyEditorAdapter
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2354 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 21:19:20 +00:00
Juergen Hoeller
9d14faa676
AnnotationMetadata returns Class values by default (again), allowing for explicit retrieval of String class names where preferred (SPR-5827)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2346 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 19:24:43 +00:00
Juergen Hoeller
c1ff125fb8
AnnotationMetadata returns Class values by default (again), allowing for explicit retrieval of String class names where preferred (SPR-5827)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2345 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 19:11:41 +00:00
Costin Leau
5428c5f710
+ removed unused imports
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2297 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 12:02:42 +00:00
Sam Brannen
2b1b7d03be
JavaDoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2294 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-08 14:27:47 +00:00
Keith Donald
e882d7216c
default config for web binding initializer and formatting/conversion system w/ mvc namespace
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2283 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-07 00:41:08 +00:00
Arjen Poutsma
8f3bf2c779
Renamed Md5HashUtils to DigestUtils
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2275 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-06 11:52:53 +00:00
Keith Donald
d48f51199c
revised matchable converter lookup algorithm; added conversion service bean container tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2265 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-05 14:52:57 +00:00
Keith Donald
1866a1ac97
joda time formatting tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2256 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-04 22:53:26 +00:00
Keith Donald
621d5bc3d8
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2252 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-04 17:23:31 +00:00
Keith Donald
bb84ab261a
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2251 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-04 17:22:09 +00:00
Keith Donald
4031ed507d
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2250 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-04 17:08:51 +00:00
Keith Donald
4aafe47a52
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2249 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-04 17:07:25 +00:00
Keith Donald
c8d2353322
formatters now plugged into unified type conversion api with formatter specific registry spi
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2248 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-04 00:08:47 +00:00
Keith Donald
cd40d6c20d
polish; fixed failed tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2235 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-30 19:19:27 +00:00
Keith Donald
ca2b8bcb35
ui.format system refining from RC1 feedback: Support for one format annotation applying to multiple field types, Printer/Parser building blocks for more flexibility, full Joda time formatting support, FormattingService as a service entry-point for clients to use
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2233 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-30 18:44:40 +00:00
Keith Donald
9ea5a96bb5
default date/time converters
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2180 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-25 04:52:26 +00:00
Juergen Hoeller
3640e2235f
full compliance with the JSR-330 TCK
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2161 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-20 18:18:25 +00:00
Keith Donald
ef5e79f47c
SPR-6199
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2152 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-19 00:13:30 +00:00
Keith Donald
e3b0a642b1
added null handling, fixed bug relating to conversion of non-generic collections
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2151 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-18 22:20:53 +00:00
Keith Donald
c460d97e2c
removed valueOf convention b/c of unwanted side effects
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2118 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-14 21:37:57 +00:00
Sam Brannen
2964183948
[SPR-6227] Parameterizing with Class<?> and Class<T> where appropriate; suppressing unchecked warnings; and fixed JavaDoc typos.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2113 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-14 14:07:48 +00:00
Sam Brannen
1deb4cb448
Suppressing unchecked and serial warnings.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2112 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-14 14:03:11 +00:00
Juergen Hoeller
7c0bc3a1cd
deprecated scheduling support for JDK 1.3 Timer
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2103 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 21:52:44 +00:00
Keith Donald
9e7b87105b
addNestedMapper
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2070 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 17:50:03 +00:00
Keith Donald
5415ff882f
added conversion service performance optimizations; added mapping cyclical ref handling; removed ConverterInfo in favor of specifying S and T at registration time if necessary
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2063 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-07 16:54:36 +00:00
Keith Donald
6719f4a1b3
spel mapping, polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2060 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-06 21:31:49 +00:00
Keith Donald
4af6fd7e0d
SPR-6179, additional mapper test cases
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2047 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-04 04:13:27 +00:00
Keith Donald
722bdb7222
mapper initial commit
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2042 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-02 16:28:53 +00:00
Juergen Hoeller
c6444ee017
renamed getAnnotations to getMethodAnnotations; added getMethodAnnotation and getParameterAnnotation convenience methods
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2037 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-01 15:20:31 +00:00
Juergen Hoeller
beed00b5b7
understand "on"/"off", "yes"/"no", "1"/"0" as boolean values (analogous to CustomBooleanEditor)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2034 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-01 11:18:48 +00:00
Juergen Hoeller
8f0490fd37
renamed internal *GenericConverters to *Converters
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2033 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-01 11:07:22 +00:00
Juergen Hoeller
85159fd248
PathMatchingResourcePatternResolver leniently ignores non-existing root directories
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2031 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-30 15:04:31 +00:00
Juergen Hoeller
c912d59449
moved converter initialization code to constructor
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2014 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 10:57:40 +00:00
Juergen Hoeller
f24bfb2aef
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2006 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 09:45:10 +00:00
Juergen Hoeller
599910699a
fixed overview files
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2005 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 08:47:18 +00:00