Commit Graph

419 Commits

Author SHA1 Message Date
Juergen Hoeller dc99df2972 use TypeDescriptor.forObject instead of constructor; enforce use of TypeDescriptor.valueOf through making the constructor private 2009-12-15 20:18:31 +00:00
Keith Donald 7fb19d658b primitive desc caching 2009-12-15 19:55:10 +00:00
Keith Donald 2fef141a00 TypeDescriptor.valueOf usage in favor of constants; TypedValue usage simplification 2009-12-15 19:41:52 +00:00
Keith Donald f37d7082a2 moved public methods up 2009-12-15 18:51:28 +00:00
Keith Donald 39325958bc moved static factory methods up 2009-12-15 18:50:17 +00:00
Keith Donald 943c46b07d value of optmization 2009-12-15 17:52:52 +00:00
Keith Donald 8ff801648d object to String not supported test case 2009-12-15 16:07:43 +00:00
Keith Donald 5c7c56a6b3 ObjectToObject converter now only matches public methods/constructors; private class method invocations also supported now through a makeAccessible call 2009-12-15 15:53:11 +00:00
Keith Donald b64945988b general polishing 2009-12-15 15:09:25 +00:00
Keith Donald bb93f5967f removed generic warning 2009-12-15 14:00:27 +00:00
Juergen Hoeller 2153b2fbd5 introspect element type in case of incoming Collection/Map in order to not accidentally say canConvert=true (SPR-6564) 2009-12-15 12:36:22 +00:00
Juergen Hoeller 5f9f69958e refined PropertyEditor exposure for the ConversionService case 2009-12-15 11:34:19 +00:00
Juergen Hoeller f52986ea15 introduced TypeDescriptor.OBJECT and TypeDescriptor.STRING 2009-12-15 10:21:16 +00:00
Juergen Hoeller 6622c71935 revised default converters; renamed ConverterRegistry's addGenericConverter to addConverter 2009-12-14 21:14:26 +00:00
Keith Donald b673087a87 polish 2009-12-11 18:26:12 +00:00
Keith Donald 541cf2de80 removed unused method; polishing 2009-12-11 18:24:44 +00:00
Keith Donald 753d0b0c91 removed generic warning 2009-12-11 18:19:43 +00:00
Keith Donald 027bd24260 polish 2009-12-11 18:16:38 +00:00
Keith Donald 4f4732df45 javadoc polishing 2009-12-11 17:56:41 +00:00
Keith Donald 8d4b9c0810 javadoc 2009-12-11 16:55:33 +00:00
Keith Donald 5ce16e01eb broke out collection to string converter logic from collection to object 2009-12-11 14:45:21 +00:00
Keith Donald 96de14ef2e SPR-6537 initial commit; more extensive testing to follow 2009-12-10 17:36:58 +00:00
Keith Donald dd1bbde891 removed generic warning 2009-12-10 16:21:30 +00:00
Juergen Hoeller 2ce5090d00 polishing 2009-12-09 17:54:02 +00:00
Juergen Hoeller bc6b707a22 revised GenericConverter's "getConvertibleTypes()" signature to return Set of ConvertiblePair 2009-12-09 17:52:19 +00:00
Juergen Hoeller 010e72c35a GenericConversionService prefers matches against inherited interfaces over superclasses (SPR-6297) 2009-12-09 16:16:55 +00:00
Arjen Poutsma 27e0642543 SPR-6502 - Broken @RequestMapping inheritance 2009-12-07 16:44:51 +00:00
Arjen Poutsma 976f920db2 SPR-6482 - @RequestMapping handled incorrectly when value contains "." (dot) character 2009-12-07 13:59:07 +00:00
David Syer ad3fa505f3 SPR-5327: tweak the build.xml for core to try and make commons-logging optional in generated poms 2009-12-04 18:26:25 +00:00
David Syer 1202f67cc8 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 2009-12-04 18:25:31 +00:00
Juergen Hoeller e161c93f8d full support for formatters on array/collection elements (SPR-6504) 2009-12-04 00:34:40 +00:00
Juergen Hoeller 132bb8a672 polishing 2009-12-01 02:45:12 +00:00
David Syer 1a06b6a0ab SPR-5327: tidy up Maven dependencies (keeping commons-logging) 2009-11-30 12:56:25 +00:00
Keith Donald 18c63f70c4 polishing 2009-11-27 04:31:09 +00:00
Juergen Hoeller 7e5106d1ac FormatterRegistry extends ConverterRegistry now; FormattingConversionService extends GenericConversionService 2009-11-27 01:58:31 +00:00
Juergen Hoeller 9400fb3e78 replaced custom asList method with Arrays.asList(ObjectUtils.toObjectArray(...)) 2009-11-27 01:35:45 +00:00
Juergen Hoeller cc0bd730eb polishing 2009-11-27 01:34:56 +00:00
Juergen Hoeller bc06ffb6b8 removed obsolete System.err logging for the property-not-found case 2009-11-27 01:28:54 +00:00
Juergen Hoeller 5e68cc5a58 removed inappropriate assertion that prevents static method calls 2009-11-27 01:03:48 +00:00
Juergen Hoeller 6c89946d42 leniently fall back to the passed-in method if a bridge method couldn't be resolved (for Groovy 1.7 compatibility) 2009-11-25 16:55:13 +00:00
Arjen Poutsma ef50082cad SPR-6280 - PathVariable resolution does not work properly 2009-11-24 13:53:37 +00:00
Keith Donald 12e8f31b38 removed entity to string id conversion routine as it is not required 2009-11-23 00:07:39 +00:00
Keith Donald 064b6db666 Added entity conveter null checking; updated from string converters to simply test str.length() as pre-processing check 2009-11-22 15:40:41 +00:00
Keith Donald 48e1ed0a24 moved test case where it belongs 2009-11-21 18:36:40 +00:00
Keith Donald c3044e122c polish 2009-11-21 18:34:04 +00:00
Keith Donald 9d354192ef additional javadoc and tests 2009-11-21 18:30:34 +00:00
Keith Donald 692b1ef636 found hotspot; added ConverisonServiceFactoryBean 2009-11-20 14:43:12 +00:00
David Syer f49a8d2e3e Add some tests (and comment out the one that is breaking the build) 2009-11-20 13:36:57 +00:00
Keith Donald b896457586 doc updates 2009-11-20 05:00:28 +00:00
Juergen Hoeller 46cd083976 added chaining-capable "add" method to MutablePropertyValues 2009-11-19 22:30:35 +00:00