1. 23 2月, 2016 2 次提交
  2. 20 2月, 2016 1 次提交
  3. 19 2月, 2016 1 次提交
    • P
      Refine AntPathMatcher optimizations · c4117885
      Phillip Webb 提交于
      Refine the optimizations made in 6f55ab69 in order to restore binary
      compatibility and resolve a regression.
      
      Tests of the form pathMatcher.match("/foo/bar/**", "/foo/bar") should
      return true as this was the behavior in Spring 4.2.
      
      Issue: SPR-13913
      c4117885
  4. 10 2月, 2016 1 次提交
    • S
      Improve AntPathMatcher matching performance · e77ff3c9
      soldierkam 提交于
      This commit speeds up the AntPathMatcher implementation by
      pre-processing patterns and checking that candidates are likely
      matches if they start with the static prefix of the pattern.
      
      Those changes can result in a small performance penalty for positive
      matches, but with a significant boost for checking candidates that don't
      match. Overall, this tradeoff is acceptable since this feature is often
      used to select a few matching patterns in a much bigger list.
      
      This will lead to small but consistent performance improvements in
      Spring MVC when matching a given request with the available routes.
      
      Issue: SPR-13913
      e77ff3c9
  5. 16 1月, 2016 1 次提交
  6. 30 12月, 2015 1 次提交
  7. 22 12月, 2015 2 次提交
  8. 19 12月, 2015 2 次提交
  9. 18 12月, 2015 1 次提交
  10. 12 12月, 2015 1 次提交
  11. 08 12月, 2015 1 次提交
  12. 30 11月, 2015 2 次提交
  13. 05 11月, 2015 3 次提交
  14. 03 11月, 2015 1 次提交
  15. 14 10月, 2015 2 次提交
  16. 13 10月, 2015 1 次提交
  17. 10 10月, 2015 2 次提交
  18. 06 10月, 2015 1 次提交
  19. 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
  20. 25 9月, 2015 1 次提交
  21. 31 8月, 2015 1 次提交
  22. 29 8月, 2015 1 次提交
    • 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
  23. 27 8月, 2015 1 次提交
  24. 22 8月, 2015 1 次提交
  25. 20 8月, 2015 1 次提交
  26. 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
  27. 12 8月, 2015 3 次提交
  28. 10 8月, 2015 1 次提交
    • S
      Synthesize nested maps into annotations · f17173f6
      Sam Brannen 提交于
      Prior to this commit, attempting to synthesize an annotation from a map
      of annotation attributes that contained nested maps instead of nested
      annotations would result in an exception.
      
      This commit addresses this issue by properly synthesizing nested maps
      and nested arrays of maps into nested annotations and nested arrays of
      annotations, respectively.
      
      Issue: SPR-13338
      f17173f6