Stephane Nicoll
e1acbca4e4
Merge branch '5.3.x'
4 years ago
Stephane Nicoll
b1352e1833
Upgrade to Log4j2 2.15.0
4 years ago
Sam Brannen
101d92c166
Merge branch '5.3.x'
4 years ago
Sam Brannen
b2e94f611f
Convert single null argument to Optional.empty() in SpEL varargs expression
...
Prior to this commit, if a single null value was passed to a method with
a varargs array of type java.util.Optional, that null value was passed
unmodified. On the contrary, a null passed with additional values to
such a method resulted in the null being converted to Optional.empty().
This commit ensures that a single null value is also converted to
Optional.empty() for such SpEL expressions.
Closes gh-27795
4 years ago
Sam Brannen
62f480adc3
Merge branch '5.3.x'
4 years ago
Sam Brannen
ad7cdc5ce9
Fix regression for null varargs in SpEL expressions
...
A regression was introduced in gh-27582. Specifically, when null is
supplied as the single argument for a varargs parameter in a method or
function in a SpEL expression, ReflectionHelper currently throws a
NullPointerException instead of leaving the null value unchanged.
This commit fixes this regression.
Closes gh-27719
4 years ago
Stephane Nicoll
8d6cc7dc10
Merge branch '5.3.x'
4 years ago
Stephane Nicoll
6cc9538ab9
Start building against Reactor 2020.0.14 snapshots
...
See gh-27793
4 years ago
Rossen Stoyanchev
a15393836c
Merge branch '5.3.x' into main
4 years ago
Rossen Stoyanchev
e9083d7d20
Apply LogFormatUtils in more places
4 years ago
Stephane Nicoll
b5ffcfb4ba
Merge branch '5.3.x'
4 years ago
Stephane Nicoll
98ce171b30
Revert "Mention explicitly that @EventListener should be put on public methods"
...
This reverts commit 57a5370eec .
See gh-27777
4 years ago
Stephane Nicoll
866708942c
Merge branch '5.3.x'
4 years ago
Stephane Nicoll
57a5370eec
Mention explicitly that @EventListener should be put on public methods
...
Closes gh-27777
4 years ago
Rossen Stoyanchev
3a43ca3a34
Merge branch '5.3.x' into main
4 years ago
Rossen Stoyanchev
99c7608ffe
Replace both EOL and control characters
4 years ago
Arjen Poutsma
ce253041c5
Merge branch '5.3.x'
4 years ago
Arjen Poutsma
c0f79ee00a
Merge pull request #25092 from jkatada:fix-ModelAndView-status-for-redirect
...
* gh-25092:
Fix for ModelAndView.status not working with RedirectView
4 years ago
Katada, Junya
9261766677
Fix for ModelAndView.status not working with RedirectView
4 years ago
Arjen Poutsma
81af7330f6
Deprecate StringUtils::trimWhitespace and variants
...
This commits deprecates
- StringUtils::trimWhitespace in favor of String::strip
- StringUtils::trimLeadingWhitespace in favor of String::stripLeading
- StringUtils::trimTrailingWhitespace in favor of String::stripTrailing
Closes gh-27769
4 years ago
Arjen Poutsma
982ba0e86d
Merge pull request #27703 from xixingya:feat/stringstrip
...
* gh-27703:
Use String::strip in StringUtils::trimWhitespace
4 years ago
liuzhifei
68cf95f499
Use String::strip in StringUtils::trimWhitespace
...
See gh-27703
4 years ago
Juergen Hoeller
7f43128a0e
Merge branch '5.3.x'
...
# Conflicts:
# build.gradle
# spring-web/src/main/java/org/springframework/web/server/MediaTypeNotSupportedStatusException.java
# spring-web/src/main/java/org/springframework/web/util/ContentCachingRequestWrapper.java
# spring-webmvc/src/main/java/org/springframework/web/servlet/handler/HandlerMappingIntrospector.java
4 years ago
Juergen Hoeller
14f24f43d7
Polishing
4 years ago
Juergen Hoeller
d7e0eed8d2
Clarify getBeanProvider(ResolvableType) semantics for unresolved generics
...
Closes gh-27727
4 years ago
Juergen Hoeller
7c834d98c2
Upgrade to ASM master (including early support for Java 19 bytecode)
...
Closes gh-27740
4 years ago
Juergen Hoeller
70974e006e
Upgrade to Tomcat 9.0.55, Undertow 2.2.13, RxJava 3.1.3, SmallRye Mutiny 1.2, Joda-Time 2.10.13, JRuby 9.2.20.1, HtmlUnit 2.55, Checkstyle 9.2
4 years ago
Stephane Nicoll
110e0f7f2b
Add support for Instant in @DateTimeFormat
...
Closes gh-19846
4 years ago
Arjen Poutsma
0a41da9ec9
Merge branch '5.3.x'
4 years ago
Arjen Poutsma
2f557d9583
Merge pull request #25358 from ivd-git:router-function-handler-not-found-to-exception-pr
...
* gh-25358:
Polish "Throw 404 ResponseStatusException when no routes found"
Throw 404 ResponseStatusException when no routes found
4 years ago
Arjen Poutsma
b84fe99d07
Polish "Throw 404 ResponseStatusException when no routes found"
...
See gh-25358
4 years ago
Ingmar van Dijk
69df27a99f
Throw 404 ResponseStatusException when no routes found
...
This commit makes it possible to customize 404 responses generated by
RouterFunctionWebHandler, by throwing an ResponseStatusException
instead of returning a standard 404 response.
See gh-25358
4 years ago
Stephane Nicoll
8144f8666e
Merge pull request #1215 from kazuki43zoo
...
* pr/1215:
Polish "Add support for YearMonth and MonthDay in @DateTimeFormat"
Add support for YearMonth and MonthDay in @DateTimeFormat
Closes gh-1215
4 years ago
Stephane Nicoll
a57ea39707
Polish "Add support for YearMonth and MonthDay in @DateTimeFormat"
...
See gh-1215
4 years ago
Kazuki Shimizu
65eceafeee
Add support for YearMonth and MonthDay in @DateTimeFormat
...
See gh-1215
4 years ago
Rossen Stoyanchev
a9d2016007
Merge branch '5.3.x' into main
4 years ago
Rossen Stoyanchev
5649a6f8ef
Update exchangeToMono Javadoc
...
This time showing a more representative example.
See gh-27645
4 years ago
Arjen Poutsma
ba568ff79c
Merge branch '5.3.x'
4 years ago
Arjen Poutsma
be6eeafe78
Revert change createException to createError
...
createError is not available in 5.3.
See gh-27645
4 years ago
Arjen Poutsma
720c30ce84
Merge branch '5.3.x'
4 years ago
Arjen Poutsma
b77b45434f
Change createException to createError
...
See gh-27645
4 years ago
Stephane Nicoll
1b4fa0370c
Merge pull request #23927 from sokomishalov
...
* pr/23927:
Polish "Add Kotlin extensions for Cache and CacheManager"
Add Kotlin extensions for Cache and CacheManager
Closes gh-23927
4 years ago
Stephane Nicoll
65dc2afe9d
Polish "Add Kotlin extensions for Cache and CacheManager"
...
See gh-23927
4 years ago
sokomishalov
5ec1e20242
Add Kotlin extensions for Cache and CacheManager
...
See gh-23927
4 years ago
Brian Clozel
24cb1def7d
Polish
...
Closes gh-27754
4 years ago
Rossen Stoyanchev
2d2db530b1
Merge branch '5.3.x' into main
4 years ago
Rossen Stoyanchev
6582787678
Apply resources after application HttpClient mapper
...
Closes gh-27749
4 years ago
Rossen Stoyanchev
8b89128c7b
Update createException example for WebClient
...
Closes gh-27645
4 years ago
Arjen Poutsma
9cc690a9bb
Merge pull request #27356 from ydh6226:patch-1
...
* gh-27356:
Use HttpHeaders.ALLOW instead of String constant
4 years ago
ydh6226
a0ba808217
Use HttpHeaders.ALLOW instead of String constant
...
This commit changes "Allow" strings into HttpHeaders.ALLOW.
See gh-27356
4 years ago