Commit Graph

442 Commits

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