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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Arjen Poutsma
7cee45d74d
Test for SPR-6690
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2815 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Keith Donald
6478829a47
general polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2674 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Keith Donald
101a0667f3
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2492 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Keith Donald
9d1daf3232
found hotspot; added ConverisonServiceFactoryBean
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2473 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
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
16 years ago
Keith Donald
e1463010f4
doc updates
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2467 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Keith Donald
449889af84
SPR-6350
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2435 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
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
16 years ago
Arjen Poutsma
8f3bf2c779
Renamed Md5HashUtils to DigestUtils
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2275 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Keith Donald
4aafe47a52
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2249 50f2f4bb-b051-0410-bef5-90022cba6387
16 years ago
Keith Donald
ef5e79f47c
SPR-6199
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2152 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
Juergen Hoeller
9eac45c987
removed classes which are not used in 3.0 yet
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1997 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Juergen Hoeller
7d68ca8992
PropertyPlaceholderConfigurer supports "${myKey:myDefaultValue}" defaulting syntax
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1994 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Keith Donald
eacab1aa86
more tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1975 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago
Keith Donald
f7569e3281
completed generic converter implementation
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1974 50f2f4bb-b051-0410-bef5-90022cba6387
17 years ago