Commit Graph

572 Commits

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