- 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 提交于
-
- 11 12月, 2014 1 次提交
-
-
由 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
-
- 10 12月, 2014 3 次提交
-
-
由 Sam Brannen 提交于
This commit improves error handling in CollectionFactory by asserting preconditions. In addition, this commit introduces ConnectionFactoryTests.
-
由 Sam Brannen 提交于
This commit also adds links to the newly created Eclipse bug that was raised for this issue.
-
由 Sam Brannen 提交于
This commit introduces superfluous casts in CollectionFactory to address a bug in Eclipse 4.4.1 that prevents the code from compiling within Eclipse. Specifically, without these casts Eclipse displays the following error for use of the EnumSet.copyOf() and EnumSet.noneOf() methods: Type mismatch: cannot convert from EnumSet<Enum<Enum<E>>> to Collection<E>
-
- 08 12月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 02 12月, 2014 2 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12493
-
由 Juergen Hoeller 提交于
Issue: SPR-12489
-
- 30 11月, 2014 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-12483
-
- 29 11月, 2014 2 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12483
-
由 Juergen Hoeller 提交于
Issue: SPR-12483
-
- 26 11月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12473 (cherry picked from commit 5ac86803)
-
- 23 11月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 22 11月, 2014 2 次提交
-
-
由 Juergen Hoeller 提交于
MethodParameter generally uses volatile variables where applicable now (as well as a local copy of the parameterNameDiscoverer field) Issue: SPR-12453
-
由 Juergen Hoeller 提交于
MutablePropertySources uses an internal CopyOnWriteArrayList for defensiveness against concurrent modifications Issue: SPR-12428
-
- 20 11月, 2014 1 次提交
-
-
由 Chris Beams 提交于
Prior to this commit, JOptCommandLinePropertySource prevented the possibility of non-String option arguments. This effectively prevents the use of JOpt's #ofType support (which allows specifying custom argument types). Now, non-String arguments are detected and converted to strings as necessary. JOpt's #ofType now works as expected. A test has been added to cover this case.
-
- 02 11月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
(cherry picked from commit acefd838)
-
- 30 10月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
SimpleMetadataReaderFactory is capable of resolving inner class names with dot syntax now (analogous to ClassUtils.forName) Issue: SPR-12390
-
- 29 10月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Normalized AnnotationAttributesReadingVisitor class layout and improved diagnostics through delegating to AnnotationUtils Issue: SPR-12387
-
- 21 10月, 2014 4 次提交
-
-
由 Juergen Hoeller 提交于
OrderUtils.getPriority uses AnnotationUtils.findAnnotation for consistent lookup rules and diagnostics Issue: SPR-12357
-
由 Juergen Hoeller 提交于
Issue: SPR-12325
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
AnnotationUtils favors local composed annotations over interface annotations and consistently logs introspection failures via lazily initialized logger Issue: SPR-12355 Issue: SPR-12325 Issue: SPR-12329
-
- 07 10月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12297
-
- 03 10月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12292
-
- 02 10月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12285
-
- 01 10月, 2014 2 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Stephane Nicoll 提交于
Prior to this commit, the ResolvableType static cache was holding a lot of duplicates for simple types. We are using too much metadata to compute the key when the class has no generic information. so setFoo(String foo) and setBar(String bar) would result in two entries in the cache because the TypeProvider is different. On a very simple application 65% of the entries in the cache were duplicate. When the type is a Class with no generic information, the ResolvableType instance is a simple wrapper around it so we might just as well not cache it at all as the cost of finding it back from the cache is higher than creating that simple wrapper. This commit adds an explicit check; if the type is a simple Class we just return a "resolved" ResolvableType instance for it. On a few test cases, this reduces the size of the cache by 85% Issue: SPR-12275
-
- 25 9月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
-
- 24 9月, 2014 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12224
-
- 22 9月, 2014 2 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-12231
-
由 Phillip Webb 提交于
Update PathMatchingResourcePatternResolver to include additional protected methods that can be used by subclasses to optimize which JARs are searched. Issue: SPR-12231
-
- 20 9月, 2014 3 次提交
-
-
由 Phillip Webb 提交于
Update SystemEnvironmentPropertySource to attempt optimized Map lookups first, and only fall-back to the defensive SecurityManager safe-mode if these fail. Issue: SPR-12224
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-