Yanming Zhou
72a9864788
Use Object.equals() where feasible
...
See gh-31916
2023-12-28 13:19:03 +01:00
Stéphane Nicoll
a6e87b40c7
Polish "Use diamond operator where feasible"
...
See gh-31916
2023-12-28 13:14:26 +01:00
Yanming Zhou
094479b55f
Use diamond operator where feasible
...
See gh-31916
2023-12-28 13:08:08 +01:00
Yanming Zhou
db2c532c07
Use auto boxing and unboxing where feasible
...
See gh-31916
2023-12-28 13:01:44 +01:00
Yanming Zhou
4a450c6fab
Use enhanced for loop where feasible
...
See gh-31916
2023-12-28 13:01:44 +01:00
Stéphane Nicoll
ed1bfb8177
Polish "Use text block where feasible"
...
See gh-31916
2023-12-28 13:01:44 +01:00
Yanming Zhou
a35384fd57
Use text block where feasible
...
See gh-31916
2023-12-28 13:01:44 +01:00
Stéphane Nicoll
9d31537ae5
Polish "Use String.repeat() where feasible"
...
See gh-31916
2023-12-28 13:01:44 +01:00
Yanming Zhou
dee1b726f9
Use String.repeat() where feasible
...
See gh-31916
2023-12-28 13:01:44 +01:00
Stéphane Nicoll
7cfff4049d
Polish "Remove unnecessary final modifier"
...
See gh-31916
2023-12-28 13:01:44 +01:00
Yanming Zhou
45080e3724
Remove unnecessary final modifier
...
final is useless for private and static methods
See gh-31916
2023-12-28 13:01:43 +01:00
Stéphane Nicoll
c3b5f5bf90
Merge pull request #31913 from quaff
...
* pr/31913:
Update copyright year of changed files
Cleanup kotlin sources
Closes gh-31913
2023-12-28 11:56:12 +01:00
Stéphane Nicoll
7e5afc8bbb
Update copyright year of changed files
...
See gh-31913
2023-12-28 11:47:17 +01:00
Yanming Zhou
7474af4f09
Cleanup kotlin sources
...
1. remove unused import
2. remove redundant semicolon
3. remove redundant empty constructor and SAM-constructor
4. remove unnecessary type argument
5. adjust indent
See gh-31913
2023-12-28 11:46:47 +01:00
Stéphane Nicoll
28a7b6103a
Merge pull request #31914 from quaff
...
* pr/31914:
Add missing @Test
Fix @Nested class not be executed
Closes gh-31914
2023-12-28 11:40:56 +01:00
Yanming Zhou
3cddb0434d
Add missing @Test
...
See gh-31914
2023-12-28 11:38:03 +01:00
Yanming Zhou
36a72115f9
Fix @Nested class not be executed
...
See gh-31914
2023-12-28 11:37:47 +01:00
Stéphane Nicoll
3c0b5459be
Merge pull request #31912 from izeye
...
* pr/31912:
Add Javadoc since to CacheOperationContext.getGeneratedKey()
Closes gh-31912
2023-12-28 11:29:31 +01:00
Johnny Lim
088be2d017
Add Javadoc since to CacheOperationContext.getGeneratedKey()
...
See gh-31912
2023-12-28 11:25:36 +01:00
Juergen Hoeller
a155a6b3e2
Document target method expectations for ReactiveTransactionManager
...
Closes gh-23277
2023-12-27 23:48:55 +01:00
Juergen Hoeller
a338a16b29
Polishing
2023-12-27 23:23:38 +01:00
Juergen Hoeller
7613bdfdf9
Document thread safety and visibility for Spring-managed bean instances
...
Closes gh-8986
2023-12-27 23:22:35 +01:00
Juergen Hoeller
57f27fa42f
Document autowiring of request/session proxies into Spring-managed beans
...
Closes gh-26201
2023-12-27 23:22:30 +01:00
Juergen Hoeller
55d9d151fb
Recommend ResourcePropertySource for distinct PropertySource names
...
Closes gh-28886
2023-12-27 23:19:27 +01:00
Stéphane Nicoll
70f31dee45
Polish
2023-12-27 13:04:21 +01:00
Stéphane Nicoll
699f93fed7
Use proper SQLServer dialect for Hibernate 6+
...
This commit fixes the Hibernate dialect lookup for SQLServer as it was
previously using a dialect that has been deprecated. In recent
versions, the standard SQLServerDialect is the one we should be using.
Closes gh-31896
2023-12-26 14:03:20 +01:00
Kai Zander
4c6ca05af5
Fix formatting in scheduling.adoc
2023-12-26 11:36:51 +01:00
Juergen Hoeller
75c7596259
Allow Propagation.NOT_SUPPORTED with @TransactionalEventListener
...
Closes gh-31907
2023-12-26 10:59:19 +01:00
Juergen Hoeller
17d362fa85
Document limited concurrency with fixed-delay tasks on virtual threads
...
Closes gh-31900
2023-12-26 10:59:13 +01:00
Juergen Hoeller
a428955438
Avoid unnecessary DatabasePopulator init/destroy processing
...
Closes gh-23405
2023-12-23 13:40:12 +01:00
Brian Clozel
4afac17e58
Reject invalid forwarded requests in ForwardedHeaderFilter
...
Prior to this commit, the `ForwardedHeaderFilter` and the forwarded
header utils would throw `IllegalArgumentException` and
`IllegalStateException` when request headers are invalid and cannot be
parsed for Forwarded handling.
This commit aligns the behavior with the WebFlux counterpart by
rejecting such requests with HTTP 400 responses directly.
Fixes gh-31842
2023-12-22 17:27:06 +01:00
Sébastien Deleuze
8bd8c4f627
Add support for `@Async` Kotlin function returning `Unit?`
...
Closes gh-31881
2023-12-22 15:33:34 +01:00
Stéphane Nicoll
0390709577
Use proper Oracle dialect for Hibernate 6+
...
This commit fixes the Hibernate dialect lookup for Oracle as it was
previously using a dialect that has been moved and deprecated to a
separate project. In recent versions, the standard OracleDialect is the
one we should be using.
Closes gh-31892
2023-12-22 15:22:01 +01:00
Stéphane Nicoll
9f2970bc5c
Use non deprecated MySQL dialect for Hibernate 6+
...
This commit fixes the Hibernate dialect lookup for MySQL as it was
previously using a deprecated dialect that has been removed in the most
recent Hibernate version.
Closes gh-31889
2023-12-22 15:03:40 +01:00
Juergen Hoeller
232225b2aa
Polishing
2023-12-22 13:06:29 +01:00
Stéphane Nicoll
5caf714ff4
Document CGLIB restriction with methods that are effectively private
...
Closes gh-28973
2023-12-22 12:39:35 +01:00
Juergen Hoeller
cd11219fa7
Declare proxyMetadataCache as volatile and ProxiedInterfacesCache fields as final
...
See gh-30499
2023-12-22 12:27:03 +01:00
Juergen Hoeller
44c652ec98
Introduce ProxiedInterfacesCache for JdkDynamicAopProxy
...
Closes gh-30499
2023-12-22 11:55:59 +01:00
Stéphane Nicoll
cd8bc2f82a
Remove useless empty inheritDoc Javadoc tag
2023-12-22 11:23:11 +01:00
Stéphane Nicoll
12f6330fae
Improve code coverage of PropertyPlaceholderHelper
...
See gh-26268
2023-12-22 11:07:16 +01:00
Juergen Hoeller
fc0ea465e1
Clarify expectations for getBean call with provided arguments
...
Closes gh-24955
2023-12-21 19:32:38 +01:00
rstoyanchev
459338f6fd
Unwrap Optional in MethodValidationAdapter
...
See gh-31746
2023-12-21 17:55:49 +00:00
rstoyanchev
f0add920f5
Adjust container types to which methodValidation
...
After the updates to MethodValidationAdapter in commit d7ce13 related
to method validation on element containers, we also need to adjust
the checks in HandlerMethod when method validation applies.
See gh-31746
2023-12-21 17:50:40 +00:00
rstoyanchev
33c149077a
Check constraints on container elements
...
We now check for constraint annotations on elements of a
container to decide whether to apply method validation.
Closes gh-31870
2023-12-21 17:35:19 +00:00
Baoyi Chen
e00a882333
Complete Jetty frame callback when opcode is not PONG
...
The onWebSocketFrame method should complete callback.
For more details, see https://github.com/jetty/jetty.project/issues/11088 .
Closes gh-31869
2023-12-21 17:56:26 +01:00
Sam Brannen
3ed5a90b7c
Fix assertions in ReactiveCachingTests
2023-12-21 17:30:56 +01:00
Sam Brannen
3476402a75
Polish switch statements
2023-12-21 17:30:56 +01:00
Juergen Hoeller
b04803de99
Polishing
2023-12-21 17:20:29 +01:00
Juergen Hoeller
f443cf965a
Introduce NoOpTaskScheduler for test setups
...
Closes gh-28073
2023-12-21 17:20:24 +01:00
Stéphane Nicoll
c9292f8e09
Replace Twitter reference to 𝕏
2023-12-21 15:56:20 +01:00