1. 17 8月, 2019 1 次提交
  2. 12 8月, 2019 1 次提交
  3. 07 8月, 2019 3 次提交
  4. 01 8月, 2019 3 次提交
    • P
      Deprecate mutable methods of MethodParameter · 62a3e414
      Phillip Webb 提交于
      Deprecate all mutation methods in `MethodParameter` in favor of factory
      methods that return a new instance. Existing code that previously relied
      on mutation has been updated to use the replacement methods.
      
      Closes gh-23385
      62a3e414
    • S
      Fix bug in TYPE_HIERARCHY_AND_ENCLOSING_CLASSES strategy · de3c1156
      Sam Brannen 提交于
      Prior to this commit, the new `TYPE_HIERARCHY_AND_ENCLOSING_CLASSES`
      annotation search strategy failed to find annotations on enclosing
      classes if the source class was a nested class that itself had no
      annotations present.
      
      This commit fixes this by adding special logic to AnnotationsScanner's
      isWithoutHierarchy() method to properly support nested classes.
      
      Closes gh-23378
      de3c1156
    • S
      Remove duplicate assertion · b03dd475
      Sam Brannen 提交于
      b03dd475
  5. 31 7月, 2019 2 次提交
  6. 30 7月, 2019 2 次提交
  7. 24 7月, 2019 2 次提交
  8. 20 7月, 2019 3 次提交
  9. 19 7月, 2019 2 次提交
  10. 10 7月, 2019 1 次提交
    • A
      Removed DataBufferUtils::split · 09572e7b
      Arjen Poutsma 提交于
      DataBuffers::split (and underlying algorithm) should not be returning
      a Flux<DataBuffer>, but rather a Flux<Flux<DataBuffer>>. In other words,
      it should not join all data buffers that come before a delimiter.
      
      Providing an implementation of a such a fully reactive split method
      proved to be beyond the scope of this release, so this commit removes
      the method altogether.
      09572e7b
  11. 05 7月, 2019 1 次提交
  12. 25 6月, 2019 2 次提交
  13. 24 6月, 2019 1 次提交
  14. 14 6月, 2019 1 次提交
  15. 12 6月, 2019 1 次提交
  16. 30 5月, 2019 1 次提交
  17. 28 5月, 2019 1 次提交
    • S
      Introduce support for sorted Properties · c39c4211
      Sam Brannen 提交于
      This commit introduces an internal SortedProperties class that is a
      specialization of java.util.Properties which sorts properties
      alphanumerically based on their keys.
      
      This can be useful when storing a java.util.Properties instance in a
      properties file, since it allows such files to be generated in a
      repeatable manner with consistent ordering of properties.
      
      Comments in generated properties files can also be optionally omitted.
      
      An instance of SortedProperties can be created via two new
      createSortedProperties() factory methods in
      org.springframework.core.CollectionFactory.
      
      Closes gh-23018
      c39c4211
  18. 27 5月, 2019 1 次提交
    • P
      Use less confusing MergedAnnotation method names · e386e53f
      Phillip Webb 提交于
      Rename some `MergedAnnotation` methods to prevent using parent/child
      terminology, specifically:
      
      	`getDepth()` has been renamed `getDistance()`
      	`getParent()` has been renamed `getMetaSource()`
      	`getTypeHierarchy()` has been renamed `getMetaTypes()`
      
      The parent child naming was particularly confusing given that the
      parent/child relationships were inverted from the way that a lot of
      users think about meta-annotations. For example, a `@RequestMapping`
      having a parent of `@GetMapping` feels odd given that `@GetMapping`
      is the thing declaring the meta-annotation relationship.
      
      The new method names are designed to align more closely with existing
      terms. For example, `getMetaSource` hints at the relationship with
      `isMetaAnnotated` and `getSource`.
      
      Closes gh-22946
      e386e53f
  19. 24 5月, 2019 2 次提交
  20. 21 5月, 2019 2 次提交
  21. 15 5月, 2019 1 次提交
    • A
      Make StringDecoder use DataBufferUtils.split · a30a134c
      Arjen Poutsma 提交于
      * Added DataBufferUtils.split variant that takes multiple delimiters
        as argument (instead of 1).
      * Use this new split() variant from within StringDecoder, replacing
        its inefficient algorithm with the Knuth-Morris-Pratt algorithm.
      a30a134c
  22. 13 5月, 2019 1 次提交
  23. 12 5月, 2019 1 次提交
  24. 09 5月, 2019 2 次提交
    • P
      Migrate to BDD Mockito · 798b51f4
      Phillip Webb 提交于
      Migrate all tests to consistently use BDD Mockito. Also add
      checksyle rule to enforce going forwards.
      798b51f4
    • P
      Remove '.*' imports from tests · 816bbee8
      Phillip Webb 提交于
      Organize test imports to expand all '.*' static imports into
      fully qualified imports.
      
      This update will allow us to use additional checkstyle rules in
      the future, and will also help if we migrate fully to AssertJ.
      816bbee8
  25. 08 5月, 2019 2 次提交
    • P
      Migrate away from ExpectedException (#22922) · d7320de8
      Phil Webb 提交于
      * Add limited checkstyles to test code
      
      Add a limited set of checkstyle rules to the test codebase to improve
      code consistency.
      
      * Fix checksyle violations in test code
      
      * Organize imports to fix checkstyle for test code
      
      * Migrate to assertThatExceptionOfType
      
      Migrate aware from ExpectedException rules to AssertJ exception
      assertions. Also include a checkstyle rules to ensure that the
      the ExpectedException is not accidentally used in the future.
      
      See gh-22894
      d7320de8
    • J
      Nullability refinements and related polishing · c5b38483
      Juergen Hoeller 提交于
      Includes fix for typo in visitor class names.
      
      See gh-22909
      c5b38483