dreis2211
3c8d9d00e5
Optimize BeanPropertyName.toDashedForm()
...
See gh-15779
2019-01-28 11:37:49 +00:00
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
2019-01-28 11:34:28 +00:00
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
2019-01-28 11:34:28 +00:00
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
2019-01-28 11:34:28 +00:00
Andy Wilkinson
2956b86035
Avoid creating ConfigurationPropertyName just to get its Elements
...
See gh-15760
2019-01-28 11:34:28 +00:00
dreis2211
d4ab101223
Use Assertions.contentOf() where possible
...
Closes gh-15793
2019-01-28 10:08:57 +01:00
Stephane Nicoll
342212b8dc
Merge branch '2.1.x'
2019-01-28 10:08:02 +01:00
Stephane Nicoll
6f86a84301
Polish "Alias auto-configured TaskExecutor to make async tasks use it"
...
Closes gh-15748
2019-01-28 10:04:30 +01:00
Camille Vienot
d0859f1569
Alias auto-configured TaskExecutor to make async tasks use it
...
See gh-15748
2019-01-28 09:59:55 +01:00
Stephane Nicoll
a6815bb2c9
Merge branch '2.1.x'
2019-01-25 10:45:26 +01:00
Vedran Pavic
d7550d73a3
Remove duplicate code from HealthWebEndpointResponseMapper
...
Closes gh-15784
2019-01-25 10:38:16 +01:00
Andy Wilkinson
babe98f064
Merge branch '2.1.x'
2019-01-22 11:54:05 +00:00
Andy Wilkinson
a172e146de
Polish "Always fail fast when SSL is enabled without a key store"
...
Closes gh-15709
2019-01-22 11:51:29 +00:00
Raheela
62c8ac6ee8
Always fail fast when SSL is enabled without a key store
...
See gh-15709
2019-01-22 11:50:19 +00:00
Andy Wilkinson
2cb147af7c
Merge branch '2.1.x'
2019-01-22 09:22:17 +00:00
Andy Wilkinson
e15e140f8c
Polish "Fix typos in JsonContentAssert failure messages"
...
See gh-15752
2019-01-22 09:19:41 +00:00
Johnny Lim
3744082996
Fix typos in JsonContentAssert failure messages
...
Closes gh-15752
2019-01-22 09:19:25 +00:00
Andy Wilkinson
f23a0a5969
Inject InfoContributorProperties more precisely
...
Closes gh-15750
2019-01-21 16:56:39 +00:00
Andy Wilkinson
530c7bee71
Do not auto-configure HttpMessageConverters in reactive web apps
...
Closes gh-15712
2019-01-18 14:57:14 -05:00
Andy Wilkinson
6abd18ae96
Do not auto-configure RestTemplateBuilder in reactive web apps
...
Closes gh-15718
2019-01-18 14:50:24 -05:00
Andy Wilkinson
5d60d6bd62
Use ApplicationContextRunner to test RestTemplateAutoConfiguration
2019-01-18 14:36:18 -05:00
Andy Wilkinson
7dd65074e8
Only perform background pre-init with multiple processors
...
Closes gh-15722
2019-01-18 11:50:17 -05:00
Stephane Nicoll
32b14f3098
Merge branch '2.1.x'
2019-01-17 16:15:32 -05:00
Stephane Nicoll
f0a20b1821
Polish contribution
...
Closes gh-15733
2019-01-17 16:14:15 -05:00
NAIT BELKACEM
6a0053c8bc
Fix typo
...
See gh-15733
2019-01-17 16:11:11 -05:00
Michael McFadyen
9eeeebcd53
Update 'HTTP Client Metrics' reference documentation
...
Since gh-#5594, the 'outcome' tag has been introduced for
HTTP clients. This commit updates the reference documentation
accordingly.
Closes gh-15725
2019-01-17 12:14:42 -05:00
Stephane Nicoll
cea6a79e49
Merge branch '2.1.x'
2019-01-17 10:58:55 -05:00
Stephane Nicoll
708ca0636f
Clarify that Spring Boot uses the platform MBeanServer by default
...
Closes gh-15728
2019-01-17 10:58:08 -05:00
Stephane Nicoll
33f2bd4d61
Merge branch '2.1.x'
2019-01-14 08:13:37 -05:00
Stephane Nicoll
485bdc9901
Polish "Remove redundant interface modifiers"
...
Closes gh-15694
2019-01-14 08:13:08 -05:00
igor-suhorukov
2d873c78fe
Remove redundant interface modifiers
...
See gh-15694
2019-01-14 08:12:41 -05:00
Stephane Nicoll
6baa6b291e
Polish contribution
...
Closes gh-15695
2019-01-14 08:11:20 -05:00
Johnny Lim
af3ed9ff9f
Polish
...
See gh-15695
2019-01-14 08:09:32 -05:00
Phillip Webb
2f77ef7722
Merge branch '2.1.x'
2019-01-11 16:45:05 -08:00
Phillip Webb
72400d3a96
Upgrade to Spring Batch 4.1.1
...
Closes gh-15659
2019-01-11 16:43:35 -08:00
Phillip Webb
9e58942698
Update copyright year for changed files
2019-01-11 16:42:02 -08:00
Phillip Webb
6a901199f5
Polish
2019-01-11 16:42:02 -08:00
Andy Wilkinson
d22e43aefb
Merge branch '2.1.x'
2019-01-11 16:07:18 +00:00
Andy Wilkinson
f0141dadab
Revert "Upgrade to Glassfish Jaxb 2.3.2"
...
This reverts commit 6b952f5b65 .
See gh-15689
2019-01-11 16:07:03 +00:00
Andy Wilkinson
f8de67e6e9
Merge branch '2.1.x'
2019-01-11 14:35:14 +00:00
Andy Wilkinson
6b952f5b65
Upgrade to Glassfish Jaxb 2.3.2
...
Closes gh-15689
2019-01-11 14:32:38 +00:00
Andy Wilkinson
48b485161e
Upgrade to Byte Buddy 1.9.7
...
Closes gh-15688
2019-01-11 14:32:37 +00:00
Andy Wilkinson
eb96cdffd2
Upgrade to Reactor Bom Californium-SR4
...
Closes gh-15687
2019-01-11 14:32:36 +00:00
Andy Wilkinson
c5e14afcd1
Upgrade to Micrometer 1.1.2
...
Closes gh-15686
2019-01-11 14:32:35 +00:00
Andy Wilkinson
6c81eb0591
Merge branch '2.1.x'
2019-01-11 13:26:54 +00:00
Andy Wilkinson
99df485268
Merge branch '2.0.x' into 2.1.x
2019-01-11 13:26:47 +00:00
Andy Wilkinson
2af133084a
Merge branch '1.5.x' into 2.0.x
2019-01-11 13:25:54 +00:00
Andy Wilkinson
784f192cf3
Merge branch '2.1.x'
2019-01-11 10:34:48 +00:00
Andy Wilkinson
6307cb5943
Disable Tomcat’s reference clearing
...
Closes gh-15101
2019-01-11 10:34:14 +00:00
Johnny Lim
498eef5abb
Add starter entry for Azure Application Insights
...
Closes gh-15628
2019-01-11 08:36:44 +01:00