- 09 12月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11116
-
- 03 12月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Attempt to improve performance by caching TypeDescriptors against bean PropertyDescriptors in CachedIntrospectionResults. This change is an attempt to fix the failing performance test case `testPrototypeCreationWithOverriddenResourcePropertiesIsFastEnough` in `AnnotationProcessorPerformanceTests`.
-
- 02 12月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-7966
-
- 27 11月, 2013 3 次提交
-
-
由 Phillip Webb 提交于
Update code to have a consistent number of new-line characters after import statements.
-
由 Phillip Webb 提交于
Apply consistent styling to new classes introduced in Spring 4.0. - Javadoc line wrapping, whitespace and formatting - General code whitespace - Consistent Assert.notNull messages
-
由 Phillip Webb 提交于
-
- 26 11月, 2013 2 次提交
-
-
由 Eric Dahl 提交于
Fix a variety of typos throughout the project, primarily in comments (javadoc or otherwise) but also in a handful of log messages and a couple exception messages. ISSUE: SPR-11123
-
由 Phillip Webb 提交于
Fix remaining Java compiler warnings, mainly around missing generics or deprecated code. Also add the `-Werror` compiler option to ensure that any future warnings will fail the build. Issue: SPR-11064
-
- 17 11月, 2013 1 次提交
-
-
由 Sam Brannen 提交于
-
- 15 11月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11069
-
- 04 11月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Since @Bean methods are never used with externally specified constructor argument values but rather just with autowiring, the non-lenient constructor resolution mode is appropriate in case of an overloaded @Bean method, not performing any type difference weight checks. This change includes a refinement of Spring's existing non-lenient constructor resolution (which needs to be explicitly turned on and is therefore not well tested), narrowing the conditions for the ambiguity check (only in case of the same number of arguments and not for overridden methods). Issue: SPR-10988
-
- 02 11月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-1528
-
- 31 10月, 2013 4 次提交
-
-
由 Juergen Hoeller 提交于
QualifierAnnotationAutowireCandidateResolver matches regular bean name for FactoryBean dependency type as well
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
AutowireCandidateResolver receives original bean name (including FactoryBean prefix if applicable) for correct generic type check in case of a FactoryBean definition Issue: SPR-11045
-
由 Juergen Hoeller 提交于
Issue: SPR-11046
-
- 28 10月, 2013 4 次提交
-
-
由 Juergen Hoeller 提交于
Also using ClassUtils.forName in AutowireUtils now in order to accept all common class name formats. Issue: SPR-11034
-
由 Juergen Hoeller 提交于
Issue: SPR-11034
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
XML-defined arguments values are initially turned into TypedStringValue wrappers. If we encounter an unresolved argument, we need to unwrap such a TypedStringValue and then try to treat its content as a class name. Issue: SPR-11034
-
- 27 10月, 2013 3 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-11034 Issue: SPR-11004
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Also optimized getTypeForFactoryMethod's implementation for non-generic factory methods, and reduced calls to getResolvedFactoryMethod in order to avoid repeated synchronization. Issue: SPR-11034
-
- 26 10月, 2013 6 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-10995 (cherry picked from commit 045f78e6)
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue: SPR-10995
-
由 Juergen Hoeller 提交于
Issue: SPR-11019
-
由 Juergen Hoeller 提交于
Issue: SPR-11027
-
由 Juergen Hoeller 提交于
Issue: SPR-11027
-
- 25 10月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
DefaultListableBeanFactory performs a fallback check for autowire candidates now, which GenericTypeAwareAutowireCandidateResolver implements to accept raw type matches if the target class has unresolvable type variables. Full generic matches are still preferred; the BeanFactory will only start looking for fallback matches if the first pass led to an empty result. Issue: SPR-10993 Issue: SPR-11004
-
- 19 10月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Update TypeConverterDelegate to bypass conversion when the target type is Object.class. Prior to this commit converting a single element array to an Object would result in the element being returned, rather than the array itself. Issue: SPR-10996
-
- 18 10月, 2013 2 次提交
-
-
由 Juergen Hoeller 提交于
Formerly known as the Grails BeanBuilder, now in Spring proper. Based on https://github.com/spring-projects/spring-framework/pull/355 but heavily refactored and restructured. Issue: SPR-7123
-
由 Juergen Hoeller 提交于
-
- 15 10月, 2013 3 次提交
-
-
由 Sam Brannen 提交于
- Now avoiding NullPointerExceptions in GenericTypeResolver's resolveReturnTypeForGenericMethod() in case the supplied ClassLoader is null. - AutowireUtils.resolveReturnTypeForFactoryMethod() now properly asserts that the supplied ClassLoader is not null. - Fixed copy-n-paste errors in Javadoc for AutowireUtils.resolveReturnTypeForFactoryMethod(). Issue: SPR-10411
-
由 Juergen Hoeller 提交于
Includes revisions of MethodParameter and DependencyDescriptor (in particular towards a reference to the containing class). Also refines several ResolvableType method signatures. Issue: SPR-9965
-
由 Juergen Hoeller 提交于
We're consistently resolving class names now, and the entire algorithm moved from GenericTypeResolver to the internal AutowireUtils helper in the bean factory package. Issue: SPR-10411
-
- 05 10月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Comprehensive update to the framework's TimeZone handling, including a new TimeZoneAwareLocaleContext and a LocaleContextResolver for Spring MVC A few noteworthy minor changes: LocaleContext.getLocale() may return null in special cases (not by default), which our own accessing classes are able to handle now. If there is a non-null TimeZone user setting, we're exposing it to all collaborating libraries, in particular to JSTL, Velocity and JasperReports. Our JSR-310 and Joda-Time support falls back to checking the general LocaleContext TimeZone now, adapting it to their time zone types, if no more specific setting has been provided. Our DefaultConversionService has TimeZone<->ZoneId converters registered. And finally, we're using a custom parseTimeZoneString method now that doesn't accept the TimeZone.getTimeZone(String) GMT fallback for an invalid time zone id anymore. Issue: SPR-1528
-
- 14 9月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Issue: SPR-10896
-
- 08 9月, 2013 1 次提交
-
-
由 Sam Brannen 提交于
-
- 03 9月, 2013 1 次提交
-
-
由 Juergen Hoeller 提交于
Also internally renaming SimpleNonIndexedPropertyDescriptor to SimplePropertyDescriptor and preferring direct field access wherever possible. Issue: SPR-10862 (cherry picked from commit 5639aa70)
-