Sam Brannen
a11b8039c5
Merge branch '6.0.x'
2023-09-08 16:31:11 +02:00
Sam Brannen
1227fe5774
Polishing
2023-09-08 16:30:53 +02:00
Sam Brannen
f0b1133b12
Merge branch '6.0.x'
2023-09-08 16:12:29 +02:00
Sam Brannen
ea41051651
Do not invoke [Map|Collection].isEmpty() in nullSafeConciseToString()
...
gh-30810 introduced explicit support for collections and maps in
ObjectUtils.nullSafeConciseToString() by invoking isEmpty() on a Map or
Collection to determine which concise string representation should be
used. However, this caused a regression in which an exception was
thrown if the Map or Collection was a proxy generated by
AbstractFactoryBean to support <util:set />, <util:list />, and
<util:map /> in XML configuration.
This commit addresses this set of regressions by always returning
"[...]" or "{...}" for a Collection or Map, respectively, disregarding
whether the map is empty or not.
Closes gh-31138
2023-09-08 16:03:00 +02:00
Stephane Nicoll
91f65e63b4
Merge pull request #30068 from enimiste
...
* pr/30068:
Polish "Add return type check on GetterPointcut"
Add return type check on GetterPointcut
Closes gh-30068
2023-09-08 15:37:07 +02:00
Stephane Nicoll
3e424e3ce7
Polish "Add return type check on GetterPointcut"
...
See gh-30068
2023-09-08 15:30:52 +02:00
Sam Brannen
311c58ea2d
Polish [Standard]TypeLocator
2023-09-08 15:21:48 +02:00
Sam Brannen
40f1cf67bd
Polish DefaultClientResponseTests and suppress "unchecked" warnings
2023-09-08 15:21:48 +02:00
Sam Brannen
6da9aed055
Update copyright header
2023-09-08 15:21:48 +02:00
Enimiste
d1dfac4e5d
Add return type check on GetterPointcut
...
See gh-30068
2023-09-08 15:20:53 +02:00
Sam Brannen
c9e13575ca
Use switch expression and constants in CallMetaDataProviderFactory
2023-09-08 14:05:03 +02:00
Sam Brannen
762d903aad
Convert TableMetaData to a record
...
This simplifies the code and also improves diagnostics while debugging.
2023-09-08 14:04:47 +02:00
Sam Brannen
47d760845b
Add missing @Nullable declaration
2023-09-08 14:00:52 +02:00
Sam Brannen
ab5d46411a
Introduce identifierNameToUse() in GenericCallMetaDataProvider
2023-09-08 13:59:46 +02:00
Sam Brannen
4df3eb4670
Polish Javadoc
2023-09-08 13:59:10 +02:00
Sam Brannen
5a87f555f8
Update copyright headers
2023-09-08 13:57:41 +02:00
Sébastien Deleuze
5fd356e44f
Remove outdated @Suppress("DEPRECATION") annotations
...
See gh-31127
2023-09-08 13:18:16 +02:00
Sébastien Deleuze
6f38e90048
Merge branch '6.0.x'
2023-09-08 13:08:14 +02:00
Sébastien Deleuze
12a01a680b
Document some non-nullable Kotlin extensions can throw NoSuchElementException
...
Closes gh-31189
2023-09-08 13:07:58 +02:00
rstoyanchev
b0d4931d5d
Merge branch '6.0.x'
2023-09-08 10:07:35 +01:00
rstoyanchev
740f3b797f
Polishing
...
See gh-31185
2023-09-08 10:07:21 +01:00
Sébastien Deleuze
4c621826bd
Merge branch '6.0.x'
2023-09-08 10:51:36 +02:00
Sébastien Deleuze
ab48b88f91
Refine BeanValidationBeanRegistrationAotProcessor logging
...
This commit prints a log message at debug level without
a stacktrace for TypeNotPresentException and uses
warn level instead of error level for other exceptions
since the processing of such bean will just be skipped.
Closes gh-31147
2023-09-08 10:50:57 +02:00
rstoyanchev
e0c4347cc6
Merge branch '6.0.x'
2023-09-08 09:18:24 +01:00
rstoyanchev
eda35e8074
Add note to the interceptor section of the MVC config
...
Closes gh-31185
2023-09-08 09:17:59 +01:00
rstoyanchev
53133d949d
Polishing contribution
...
Closes gh-29509
2023-09-08 08:28:26 +01:00
tianshuang
a1ce5dac0b
Execute preflight checks before interceptor chain
...
See gh-29509
2023-09-08 08:28:26 +01:00
Sébastien Deleuze
da7ad71b7f
Refine ReactorResourceFactory Javadoc
...
Provides more details about stop/restart
scenario.
See gh-31178
2023-09-08 09:12:35 +02:00
Yanming Zhou
94a49c4ed3
Log warning if ResponseStatus 'reason' is set and handler returns value
...
When a handler method is annotated with `@ResponseStatus(reason="...")`,
Spring MVC will use `HttpServletResponse#sendError` to complete the
response. As a result, the Servlet container will send an HTML error
page and any existing data in the response buffer will be cleared.
This commit clarifies the `@ResponseStatus` Javadoc and ensures that a
message is logged at the WARN level if a handler method is annotated
like this and still returns a non-Void value. In this case, the return
value will be ignored and developers should be aware of this fact.
See gh-31113
Closes gh-31121
2023-09-07 19:00:26 +02:00
Brian Clozel
bc6954255b
Merge branch '6.0.x'
2023-09-07 17:28:08 +02:00
Brian Clozel
e4887f3ed9
Upgrade Ubuntu in CI image
...
Upgrade to ubuntu:jammy-20230816
2023-09-07 17:27:41 +02:00
Sam Brannen
c3a0022c9e
Polish DefaultClientResponseTests and suppress "unchecked" warnings
2023-09-07 17:09:31 +02:00
Brian Clozel
b02e1bb935
Update CI pipeline for api docs publication
...
See gh-31049
2023-09-07 17:00:20 +02:00
Sam Brannen
ac3a466607
Merge branch '6.0.x'
2023-09-07 16:50:50 +02:00
Sam Brannen
1cdbd68aec
Revise FilePatternResourceHintsRegistrar API and improve documentation
...
This commit revises the FilePatternResourceHintsRegistrar API and
introduces List<String> overrides of various var-args methods used with
the new builder API.
Closes gh-29161
2023-09-07 16:45:50 +02:00
Sam Brannen
453c0e5191
Backport changes from main
2023-09-07 16:45:50 +02:00
rstoyanchev
fefbeeeb18
Merge branch '6.0.x'
2023-09-07 15:27:56 +01:00
rstoyanchev
a6b567a630
Polishing
2023-09-07 15:27:40 +01:00
rstoyanchev
7a516170ef
WebClientResponseException supports decoding empty content
...
Closes gh-31179
2023-09-07 15:27:40 +01:00
Brian Clozel
244c069ea8
Polish
...
See gh-31173
2023-09-07 16:07:52 +02:00
Brian Clozel
3686c457bb
Polish Aggregate Javadoc task
...
Closes gh-31173
2023-09-07 15:29:25 +02:00
Arjen Poutsma
7b5effecf3
Reference documentation for RestClient
...
In addition to providing reference documentation for the `RestClient`,
this commit also shortens the `RestTemplate` section.
Closes gh-30826
2023-09-07 14:28:56 +02:00
Sam Brannen
e42902b742
Stop referring to JDO and outdated JDBC versions in documentation
...
Closes gh-31183
2023-09-07 13:26:38 +02:00
Sam Brannen
05790e36db
Polish StandardTypeLocatorTests
2023-09-07 13:26:38 +02:00
Sébastien Deleuze
578fdbe97a
Merge branch '6.0.x'
2023-09-07 13:19:32 +02:00
shin-mallang
249f6f2da5
Polish resolveArgument method in RequestResponseBodyMethodProcessor
...
Closes gh-31175
2023-09-07 13:09:40 +02:00
Sébastien Deleuze
ada76bd7bf
Add an assertion to AopUtils.KotlinDelegate#invokeSuspendingFunction
...
See gh-22462
2023-09-07 12:30:47 +02:00
Sébastien Deleuze
b0aa004d9d
Propagate CoroutineContext in CoWebFilter
...
This provides an elegant and dynamic way to customize the
CoroutineContext in WebFlux with the annotation programming
model.
Closes gh-27522
2023-09-07 12:08:12 +02:00
Sébastien Deleuze
9d768a89d2
Make ReactorClientHttpConnector lifecycle-aware
...
With this commit, ReactorClientHttpConnector now implements
SmartLifecycle which optionally allows recreating the HttpClient
after ReactorResourceFactory has been updated.
Closes gh-31180
2023-09-06 17:48:22 +02:00
Sébastien Deleuze
ab2ad746b5
Polish ReactorResourceFactoryTests
...
See gh-31178
2023-09-06 16:01:06 +02:00