Chris Beams
f480333d31
Merge 3.1.0 development branch into trunk
...
Branch in question is 'env' branch from git://git.springsource.org/sandbox/cbeams.git; merged into
git-svn repository with:
git merge -s recursive -Xtheirs --no-commit env
No merge conflicts, but did need to
git rm spring-build
prior to committing.
With this change, Spring 3.1.0 development is now happening on SVN
trunk. Further commits to the 3.0.x line will happen in an as-yet
uncreated SVN branch. 3.1.0 snapshots will be available
per the usual nightly CI build from trunk.
14 years ago
Juergen Hoeller
3c067e5db6
optimized AnnotationUtils findAnnotation performance for repeated search on same interfaces (SPR-7630)
14 years ago
Juergen Hoeller
e1dbb66798
StringToArray/CollectionConverter trims element values before trying to convert them (SPR-7657)
14 years ago
Juergen Hoeller
4c73a29f99
polishing
14 years ago
Arjen Poutsma
1f296403da
SPR-7620 - StaxEventContentHandler does not set Location for StartDocument event
14 years ago
Arjen Poutsma
35da7bdb44
SPR-7621 - AbstractStaxContentHandler sets NamespaceContext on every start/end element
14 years ago
Arjen Poutsma
ab21dbad08
SPR-7621 - AbstractStaxContentHandler sets NamespaceContext on every start/end element
14 years ago
Juergen Hoeller
c32c0d5674
fixed package declaration
14 years ago
Juergen Hoeller
0ef971b82b
polishing
14 years ago
Juergen Hoeller
b062de1133
revised initial cut of serializer package; moved Converter adapters to sub-package 'support'
14 years ago
Juergen Hoeller
3740380a7a
polishing
14 years ago
Mark Fisher
c046419acd
SPR-7627 added Serializer and Deserializer strategies, Converter adapters, and default implementations
14 years ago
Juergen Hoeller
f7cd9865f4
polishing
14 years ago
Juergen Hoeller
ebe8052d55
fixed detection of element type in case of nested collections (SPR-7569)
14 years ago
Juergen Hoeller
d9b54a524d
revised "ClassUtils.isAssignable" semantics to cover primitives vs wrappers in both directions (SPR-7610)
14 years ago
Juergen Hoeller
e211c09065
fixed exists() check for resources in zipped files (SPR-7559)
14 years ago
Juergen Hoeller
eda6268d9d
fixed findPlaceholderEndIndex to work with a custom suffix as well (SPR-7574)
14 years ago
Chris Beams
05bcc4028d
Fix assumption about file-based Resources in PropertiesLoaderSupport (SPR-7547)
...
When using PropertiesLoaderSupport implementations (principally
PropertyPlaceholderConfigurer), an assumption was made that any
Resource representing a set of properties must be file-based. SPR-7547
exposed the fact that if a non-file-based Resource implementation such
as ByteArrayResource were passed in, an IllegalStateException would be thrown
from the AbstractResource base class' implementation of getFilename().
This is now patched, and PropertiesLoaderSupport implementations treat
Resource implementations equally, regardless of file-orientation.
See also SPR-7552.
14 years ago
Juergen Hoeller
87e7258c9a
polishing
14 years ago
Arjen Poutsma
af7203b839
Added XMLEventStreamWriter
14 years ago
Arjen Poutsma
449337a544
Small Stax fixes.
14 years ago
Arjen Poutsma
f92f295055
Small Stax fixes.
14 years ago
Juergen Hoeller
e6425ee41f
polishing
14 years ago
Juergen Hoeller
0a17e41755
catch invalid arguments early; avoid stack overflow in object-to-collection case (SPR-7488)
14 years ago
Arjen Poutsma
416004b1bc
Fixing build
14 years ago
Arjen Poutsma
2182287d3e
Minor tweaks
14 years ago
Arjen Poutsma
e3298061d2
Added createCustomStaxSource/Result, because JAXP 1.4 kills babies in their sleep.
14 years ago
Arjen Poutsma
9aafa1c6b2
Various StAX improvements.
14 years ago
Ben Hale
7730e76c06
Publishing license and notice files
14 years ago
Arjen Poutsma
dbfa049e1e
Prepping for 3.0.5
14 years ago
Arjen Poutsma
061b2c91a0
SPR-7474 - AbstractXmlStreamReader getAttributeValue(String, String) does not handle null namespaceURI properly
14 years ago
Juergen Hoeller
5c3cf5f672
added testStringArrayToResourceArray
14 years ago
Juergen Hoeller
35971f9f90
revised handler method resolution, in particular with respect to generic interfaces (SPR-7355)
14 years ago
Juergen Hoeller
49a2970def
search super-interfaces as well (SPR-7355)
14 years ago
Juergen Hoeller
665a997f66
refined exception messages; added unit tests for custom array types
14 years ago
Juergen Hoeller
771db05608
changed contentLength() from int to long
14 years ago
Juergen Hoeller
bda3d81bc9
implement file resolution for isReadable() as well
14 years ago
Juergen Hoeller
82730830d1
added "contentLength()" method to Resource abstraction; URL-based Resource variants introspect "last-modified" and "content-length" response headers (SPR-5465); refined "exists()" check for UrlResource (HEAD request) and ClassPathResource (URL resolution)
14 years ago
Juergen Hoeller
d4f73c1d3d
turned TypeDescriptor.UNKNOWN into an internal detail (SPR-7349)
15 years ago
Juergen Hoeller
8e5c033446
avoid double ConversionFailedException nesting
15 years ago
Juergen Hoeller
f90125f984
fixed WeakReferenceMonitor to never stop its monitoring thread if an entry has been registered (SPR-7373)
15 years ago
Juergen Hoeller
b7b7c067c6
GenericTypeResolver works for nested parameterized types and for generic superclasses as well (SPR-7389)
15 years ago
Juergen Hoeller
8f8fc97b79
fixed test failures with respect to null handling and PropertyTypeDescriptor usage for collection elements
15 years ago
Juergen Hoeller
27b04036a9
ConversionService is able to deal with empty collections and nested collections (fixed regression; SPR-7289, SPR-7293); ConversionService properly handles nested Resource arrays in Map values (fixed regression; SPR-7295); ConversionService does not accidentally use copy constructor for same type (SPR-7304)
15 years ago
Arjen Poutsma
b31c34ed7d
Upgrading version to 3.0.4
15 years ago
Juergen Hoeller
7b189d1124
avoid ConverterNotFoundException if source object is assignable to target type
15 years ago
Oliver Gierke
420f8237c0
Rollback accidental commit :/.
15 years ago
Oliver Gierke
897aab9f59
Added missing imports.
...
Added additional annotation to test interface to make sure no ClassCastException appears.
15 years ago
Oliver Gierke
a383633630
Added helper methods to access method parameter annotations.
15 years ago
Juergen Hoeller
96b1dc9db4
ConversionService fully supports conversion from String to MediaType now (through 'valueOf'; SPR-7282); revised exception handling in ObjectToObjectConverter, avoiding InvocationTargetExceptions
15 years ago