Commit Graph

453 Commits

Author SHA1 Message Date
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