- 06 3月, 2015 5 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12549
-
由 Juergen Hoeller 提交于
Issue: SPR-12788
-
由 Juergen Hoeller 提交于
Issue: SPR-12785
-
由 Juergen Hoeller 提交于
Issue: SPR-12780
-
- 01 3月, 2015 1 次提交
-
-
由 Sam Brannen 提交于
Prior to this commit, the implementation of equals() in EncodedResource was based solely on the resource and encoding. Thus, if a Charset were specified instead of an encoding, invocations of equals() would not work as expected. This commit addresses this issue by including the charset in the implementation of equals() and introducing corresponding tests in a new EncodedResourceTests class. Furthermore, this commit makes EncodedResource immutable and updates all Javadoc to reflect support for the encoding and charset properties. Issue: SPR-12767
-
- 28 2月, 2015 5 次提交
-
-
由 Stephane Nicoll 提交于
Issue: SPR-12766
-
由 Juergen Hoeller 提交于
-
由 Sam Brannen 提交于
This commit ensures Resources have consistent, non-empty, meaningful implementations for getDescription(), thus ensuring that calls to toString() (e.g., in log statements) no longer return an empty String. This commit also polishes the Javadoc for various Resource implementations.
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
- 27 2月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12755
-
- 26 2月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 24 2月, 2015 2 次提交
-
-
由 Stephane Nicoll 提交于
-
由 Stephane Nicoll 提交于
Add StreamConverter to provide full support for converting java.util.stream.Stream instances to and from collections or arrays. Also attempt to convert the element type if necessary. StreamConverter is registered by default in the DefaultConversionService as long as Java8 is available. Issue: SPR-12175
-
- 21 2月, 2015 2 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12701
-
由 Rossen Stoyanchev 提交于
-
- 19 2月, 2015 1 次提交
-
-
由 Stephane Nicoll 提交于
Previously, the `@order` annotation was managed in an inconsistent way when placed at the implementation level. For simple beans, it was discovered properly but wasn't for beans requiring a proxy. OrderComparator.SourceProvider now explicitly allows to return several order sources; the default implementation returns not only the factory method (if any) but also the target class if it happens to be different from the class of the bean. Issue: SPR-12636
-
- 18 2月, 2015 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12644
-
- 17 2月, 2015 1 次提交
-
-
由 Sam Brannen 提交于
-
- 11 2月, 2015 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
- 25 1月, 2015 1 次提交
-
-
由 Sam Brannen 提交于
-
- 24 1月, 2015 1 次提交
-
-
由 Sam Brannen 提交于
-
- 23 1月, 2015 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-12658
-
- 20 1月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12604
-
- 08 1月, 2015 2 次提交
-
-
由 Craig Andrews 提交于
Prior to this change, the ShallowEtagHeaderFilter would use a ResizableByteArrayOutputStream to internally write data and calculate the ETag. While that implementation is faster than the regular ByteArrayOutputStream (since it has a better strategy for growing the internal buffer), a lot of buffer copying/writing still happens. This change adds a new FastByteArrayOutputStream implementation that internally uses a LinkedList<Byte[]> to store the content. So when writing bytes to that OutputStream implementation, new byte[] are added to the list when the previous ones are full. This saves most of the instantiating/copying operations. Note that new methods were added in DigestUtils to allow usage of Streams instead of byte[], which is more efficient in our case. Fixes #653 Issue: SPR-12081
-
由 Sam Brannen 提交于
This commit updates the Javadoc for findAnnotation() to reflect recent changes to the algorithm it implements.
-
- 07 1月, 2015 1 次提交
-
-
由 John 提交于
-
- 05 1月, 2015 1 次提交
-
-
由 Sam Brannen 提交于
Issue: SPR-12596
-
- 02 1月, 2015 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12589
-
- 31 12月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12578
-
- 29 12月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 23 12月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 11 12月, 2014 3 次提交
-
-
由 Sam Brannen 提交于
This commit introduces test methods in CollectionFactoryTests that demonstrate how the APIs for createCollection() and createMap() are not type-safe, specifically regarding the use of generics, raw types, and casting.
-
由 Sam Brannen 提交于
SPR-12483 introduced automatic type conversion support for EnumSet and EnumMap. However, the corresponding changes in CollectionFactory contradict the existing contract for the "create approximate" methods by creating a copy of the supplied set or map, thereby potentially including elements in the returned collection when the returned collection should in fact be empty. This commit addresses this issue by ensuring that the collections returned by createApproximateCollection() and createApproximateMap() are always empty. Furthermore, this commit improves the Javadoc throughout the CollectionFactory class. Issue: SPR-12533
-
由 Sam Brannen 提交于
This commit introduces test methods in CollectionFactoryTests that demonstrate how the APIs for createApproximateCollection() and createApproximateMap() are not type-safe, specifically regarding the use of generics, raw types, and casting.
-
- 10 12月, 2014 2 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
This commit improves error handling in CollectionFactory by asserting preconditions. In addition, this commit introduces ConnectionFactoryTests.
-