1. 09 12月, 2013 1 次提交
  2. 03 12月, 2013 1 次提交
    • P
      Cache property TypeDescriptors · c2b56c07
      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`.
      c2b56c07
  3. 02 12月, 2013 1 次提交
  4. 27 11月, 2013 3 次提交
  5. 26 11月, 2013 2 次提交
    • E
      Fix various typos · e9f78f60
      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
      e9f78f60
    • P
      Fix remaining compiler warnings · 59002f24
      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
      59002f24
  6. 17 11月, 2013 1 次提交
  7. 15 11月, 2013 1 次提交
  8. 04 11月, 2013 1 次提交
    • J
      Use non-lenient constructor resolution mode for @Bean methods · b093b849
      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
      b093b849
  9. 02 11月, 2013 1 次提交
  10. 31 10月, 2013 4 次提交
  11. 28 10月, 2013 4 次提交
  12. 27 10月, 2013 3 次提交
  13. 26 10月, 2013 6 次提交
  14. 25 10月, 2013 1 次提交
    • J
      Accept non-generic type match as a fallback · 08517667
      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
      08517667
  15. 19 10月, 2013 1 次提交
    • P
      Skip convert to Object from TypeConverterDelegate · c9aace4d
      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
      c9aace4d
  16. 18 10月, 2013 2 次提交
  17. 15 10月, 2013 3 次提交
    • S
      Polish type prediction for generic factory methods · 8fdc7d4e
      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
      8fdc7d4e
    • J
      Autowiring of generic types · 3bd6dfe0
      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
      3bd6dfe0
    • J
      Fixed type prediction for generic factory methods · 8b1927f3
      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
      8b1927f3
  18. 05 10月, 2013 1 次提交
    • J
      Comprehensive update to the framework's TimeZone handling, including a new... · 4574528a
      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
      4574528a
  19. 14 9月, 2013 1 次提交
  20. 08 9月, 2013 1 次提交
  21. 03 9月, 2013 1 次提交