Commit Graph

20166 Commits (ecb7e240ebc40ed5ca68ffc2564e0a6b678d3850)
 

Author SHA1 Message Date
Andy Wilkinson ecb7e240eb Merge branch '2.1.x' 6 years ago
Andy Wilkinson 59c66eaf41 Correct documented path for locked synchronizer's identity hashcode
Closes gh-15847
6 years ago
Andy Wilkinson ebcc53a9b7 Include tasks with custom triggers in scheduledtasks endpoint output
Closes gh-15815
6 years ago
Andy Wilkinson 89bf486d0c Merge branch '2.1.x' 6 years ago
Andy Wilkinson 1f67707509 Fix cast in TestRestTemplateContextCustomizer
Closes gh-15843
6 years ago
Andy Wilkinson b3abd25e22 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 8a7958ef55 Do not use reflection to fall back to JDKs jar URLStreamHandler
Closes gh-15844
6 years ago
Andy Wilkinson 45cc649c7d Merge branch '2.1.x' 6 years ago
Andy Wilkinson 82bc87560c Use AssertJ’s exception assertions rather than fail
Closes gh-15761
6 years ago
Stephane Nicoll a84a6c34ba Merge branch '2.1.x' 6 years ago
Stephane Nicoll 9357a92503 Add reference to Codecentric's SOAP Web Services starter 6 years ago
Andy Wilkinson 342bced125 Merge branch '2.1.x' 6 years ago
Andy Wilkinson 2650a07dc9 Leave module-info.class in root of archive when repackaging
Closes gh-15810
6 years ago
Stephane Nicoll b4e890c3be Merge pull request #15754 from izeye
* pr/15754:
  Polish contribution
  Polish SessionConfigurationImportSelector.selectImports()
6 years ago
Stephane Nicoll 5269ea5536 Polish contribution
Closes gh-15754
6 years ago
Johnny Lim 6603033bbc Polish SessionConfigurationImportSelector.selectImports()
See gh-15754
6 years ago
Stephane Nicoll 002fa405a8 Merge branch '2.1.x' 6 years ago
Stephane Nicoll c84a0f530b Merge pull request #15798 from ayudovin
* pr/15798:
  Polish "Inject Map directly rather than via ObjectProvider"
  Inject Map directly rather than via ObjectProvider
6 years ago
Stephane Nicoll ede23caace Polish "Inject Map directly rather than via ObjectProvider"
Closes gh-15798
6 years ago
ayudovin 3a2e85ce75 Inject Map directly rather than via ObjectProvider
See gh-15798
6 years ago
Stephane Nicoll 9d609ab1ba Merge pull request #15778 from ayudovin
* pr/15778:
  Polish "Handle AccessControlException in JspTemplateAvailabilityProvider"
  Handle AccessControlException in JspTemplateAvailabilityProvider
6 years ago
Stephane Nicoll c5675de666 Polish "Handle AccessControlException in JspTemplateAvailabilityProvider"
Closes gh-15778
6 years ago
ayudovin 81273bdf9a Handle AccessControlException in JspTemplateAvailabilityProvider
See gh-15778
6 years ago
Stephane Nicoll 5e2d5959f3 Polish 6 years ago
Andy Wilkinson 9e43ee1d2c Merge pull request #15782 from Christoph Dreiss
* gh-15782:
  Optimize ConfigurationPropertyName

Closes gh-15782
6 years ago
dreis2211 5b3e1aa21a Optimize ConfigurationPropertyName
This commit changes the iteration order when checking for element
equality. This is based on the educated guess that child elements
will likely differ while parents will probably be the same.

E.g. comparing "spring.banner.charset" with "spring.banner.location"
will now first check "charset" against "location" and thus saves some
cycles for elements that will be the same.

See gh-15782
6 years ago
Andy Wilkinson 7ed92e9be4 Merge pull request #15779 from Christoph Dreiss
* gh-15779:
  Polish "Optimize BeanPropertyName.toDashedForm()"
  Optimize BeanPropertyName.toDashedForm()

Closes gh-15779
6 years ago
Andy Wilkinson 0e77445a9a Polish "Optimize BeanPropertyName.toDashedForm()"
See gh-15779
6 years ago
dreis2211 3c8d9d00e5 Optimize BeanPropertyName.toDashedForm()
See gh-15779
6 years ago
Andy Wilkinson 49ff4b77f9 Merge branch 'gh-15760'
Closes gh-15760
6 years ago
Andy Wilkinson 47b378e373 Derive StringBuilder's size from number of elements
Previously, when ConfigurationPropertyName was building the String
returned from toString() it would use a StringBuilder with the
default initial capacity of 16. For properties with several
elements this was likely to be too small resulting in the builder's
buffer being resized.

This commit sizes the StringBuilder as a multiple of the number of
elements in the name, attempting to strike a balance between
allocating a StringBuilder with an initial capacity that's too
large and wastes memory and an initial capacity that's too small
and requires resizing.

See gh-15760
6 years ago
Andy Wilkinson 39e2aaa41c Size the ElementsParser based on expected number of elements
Previously, the ElementsParser would be created using its default
capacity of 6 even when parsing a String that is expected to
produce a single element.

This commit updates ConfigurationPropertyName to create an
ElementsParser with a capacity of 1 when parsing a String that should
contain only a single element.

See gh-15760
6 years ago
Andy Wilkinson 8ec6c372e4 Do not expand ElementsParser until size equals storage length
Previously, ElementsParser would expand its internal storage when the
size of the storage was <= the end index of the element being parsed,
irrespective of how many elements had been stored. This led to
expansion of the storage, even for a source that contains a single
element, if the end of the element was at an index greater than the
size of the storage.

This commit updates ElementsParser to resize its storage when the size
(the number of elements that have been stored) is equal to the size of
the storage.

See gh-15760
6 years ago
Andy Wilkinson 2956b86035 Avoid creating ConfigurationPropertyName just to get its Elements
See gh-15760
6 years ago
Stephane Nicoll e2532e1ef5 Merge pull request #15793 from dreis2211
* pr/15793:
  Use Assertions.contentOf() where possible
6 years ago
dreis2211 d4ab101223 Use Assertions.contentOf() where possible
Closes gh-15793
6 years ago
Stephane Nicoll 342212b8dc Merge branch '2.1.x' 6 years ago
Stephane Nicoll 66f60fbb7a Merge pull request #15748 from cvienot
* pr/15748:
  Polish "Alias auto-configured `TaskExecutor` to make async tasks use it"
  Alias auto-configured `TaskExecutor` to make async tasks use it
6 years ago
Stephane Nicoll 6f86a84301 Polish "Alias auto-configured `TaskExecutor` to make async tasks use it"
Closes gh-15748
6 years ago
Camille Vienot d0859f1569 Alias auto-configured `TaskExecutor` to make async tasks use it
See gh-15748
6 years ago
Stephane Nicoll a6815bb2c9 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 9e0b1c297d Merge pull request #15784 from vpavic
* pr/15784:
  Remove duplicate code from HealthWebEndpointResponseMapper
6 years ago
Vedran Pavic d7550d73a3 Remove duplicate code from HealthWebEndpointResponseMapper
Closes gh-15784
6 years ago
Andy Wilkinson babe98f064 Merge branch '2.1.x' 6 years ago
Andy Wilkinson c488934c7d Merge pull request #15709 from Raheela Aslam
* gh-15709:
  Polish "Always fail fast when SSL is enabled without a key store"
  Always fail fast when SSL is enabled without a key store
6 years ago
Andy Wilkinson a172e146de Polish "Always fail fast when SSL is enabled without a key store"
Closes gh-15709
6 years ago
Raheela 62c8ac6ee8 Always fail fast when SSL is enabled without a key store
See gh-15709
6 years ago
Andy Wilkinson 2cb147af7c Merge branch '2.1.x' 6 years ago
Andy Wilkinson acf9e8ac13 Merge pull request #15752 from Johnny Lim
* gh-15752:
  Polish "Fix typos in JsonContentAssert failure messages"
  Fix typos in JsonContentAssert failure messages
6 years ago
Andy Wilkinson e15e140f8c Polish "Fix typos in JsonContentAssert failure messages"
See gh-15752
6 years ago