1. 14 10月, 2015 2 次提交
  2. 13 10月, 2015 2 次提交
  3. 10 10月, 2015 3 次提交
  4. 06 10月, 2015 3 次提交
  5. 28 9月, 2015 1 次提交
    • S
      Migrate JUnit 3 tests to JUnit 4 · d5ee787e
      Sam Brannen 提交于
      This commit migrates all remaining tests from JUnit 3 to JUnit 4, with
      the exception of Spring's legacy JUnit 3.8 based testing framework that
      is still in use in the spring-orm module.
      
      Issue: SPR-13514
      d5ee787e
  6. 25 9月, 2015 1 次提交
  7. 08 9月, 2015 1 次提交
  8. 03 9月, 2015 1 次提交
  9. 02 9月, 2015 3 次提交
  10. 01 9月, 2015 2 次提交
  11. 31 8月, 2015 5 次提交
  12. 29 8月, 2015 2 次提交
    • S
      Polishing · a066143a
      Sam Brannen 提交于
      This commit removes unnecessary not-null checks for annotation
      attribute alias names.
      a066143a
    • S
      Support implicit attribute aliases with @AliasFor · d40a35ba
      Sam Brannen 提交于
      Spring Framework 4.2 introduced support for aliases between annotation
      attributes that fall into the following two categories.
      
      1) Alias pairs: two attributes in the same annotation that use
         @AliasFor to declare that they are explicit aliases for each other.
      2) Meta-annotation attribute overrides: an attribute in one annotation
         uses @AliasFor to declare that it is an explicit override of an
         attribute in a meta-annotation.
      
      However, the existing functionality fails to support the case where two
      attributes in the same annotation both use @AliasFor to declare that
      they are both explicit overrides of the same attribute in the same
      meta-annotation. In such scenarios, one would intuitively assume that
      two such attributes would be treated as "implicit" aliases for each
      other, analogous to the existing support for explicit alias pairs.
      Furthermore, an annotation may potentially declare multiple aliases
      that are effectively a set of implicit aliases for each other.
      
      This commit introduces support for implicit aliases configured via
      @AliasFor through an extensive overhaul of the support for alias
      lookups, validation, etc. Specifically, this commit includes the
      following.
      
      - Introduced isAnnotationMetaPresent() in AnnotationUtils.
      
      - Introduced private AliasDescriptor class in AnnotationUtils in order
        to encapsulate the parsing, validation, and comparison of both
        explicit and implicit aliases configured via @AliasFor.
      
      - Switched from single values for alias names to lists of alias names.
      
      - Renamed getAliasedAttributeName() to getAliasedAttributeNames() in
        AnnotationUtils.
      
      - Converted alias map to contain lists of aliases in AnnotationUtils.
      
      - Refactored the following to support multiple implicit aliases:
        getRequiredAttributeWithAlias() in AnnotationAttributes,
        AbstractAliasAwareAnnotationAttributeExtractor,
        MapAnnotationAttributeExtractor, MergedAnnotationAttributesProcessor
        in AnnotatedElementUtils, and postProcessAnnotationAttributes() in
        AnnotationUtils.
      
      - Introduced numerous tests for implicit alias support, including
        AbstractAliasAwareAnnotationAttributeExtractorTestCase,
        DefaultAnnotationAttributeExtractorTests, and
        MapAnnotationAttributeExtractorTests.
      
      - Updated Javadoc in @AliasFor regarding implicit aliases and in
        AnnotationUtils regarding "meta-present".
      
      Issue: SPR-13345
      d40a35ba
  13. 28 8月, 2015 1 次提交
  14. 27 8月, 2015 2 次提交
  15. 26 8月, 2015 2 次提交
  16. 25 8月, 2015 1 次提交
  17. 22 8月, 2015 1 次提交
  18. 20 8月, 2015 1 次提交
  19. 17 8月, 2015 1 次提交
  20. 16 8月, 2015 2 次提交
  21. 13 8月, 2015 3 次提交
    • S
      Polish tests · f47bbb0d
      Sam Brannen 提交于
      f47bbb0d
    • G
      Properly detect available port on localhost in SocketUtils · f1514041
      Gary Russell 提交于
      SocketUtils is used to find available ports on localhost; however,
      prior to this commit, SocketUtils incorrectly reported a port as
      available on localhost if another process was already bound to
      localhost on the given port but not to other network interfaces. In
      other words, SocketUtils determined that a given port was available for
      some interface though not necessarily for the loopback interface.
      
      This commit addresses this issue by refactoring SocketUtils so that it
      tests the loopback interface to ensure that the port is actually
      available for localhost.
      
      Issue: SPR-13321
      f1514041
    • J
      Removal of redundant JdkVersion checks in the test suite · e0f012f3
      Juergen Hoeller 提交于
      Issue: SPR-13312
      e0f012f3