Sam Brannen
d30ad794ab
Update copyright headers
...
See gh-31245
2023-09-16 18:16:27 +02:00
shin-mallang
3d0f55273c
Replace double spaces w/ single spaces in code & comments in spring-webmvc
...
Except for meaningful double spaces (for example, to align the
indentation of comments), this commit replaces all unnecessary double
spaces with single spaces in the spring-webmvc module.
Closes gh-31245
2023-09-16 18:13:32 +02:00
Sam Brannen
56688ab361
Polish contribution
...
See gh-31244
2023-09-16 18:09:18 +02:00
shin-mallang
3932f91117
Use List#isEmpty() in DispatcherServlet
...
This commit uses !isEmpty() instead of size() > 0.
Closes gh-31244
2023-09-16 18:04:30 +02:00
Sam Brannen
293e6ddf85
Polishing
2023-09-16 15:25:16 +02:00
Sam Brannen
b05e46d502
Update copyright headers
2023-09-16 15:23:10 +02:00
Sébastien Deleuze
20df52e543
Merge branch '6.0.x'
2023-09-15 18:16:26 +02:00
Sébastien Deleuze
ce0923b946
Remove Reactor Netty 2 from integration tests
...
Closes gh-31243
2023-09-15 18:15:26 +02:00
Brian Clozel
7ecbdc19a5
Merge branch '6.0.x'
2023-09-15 17:54:06 +02:00
Brian Clozel
227049824c
Fix RuntimeHintsPredicates matching rules
...
Prior to this commit, the `RuntimeHintsPredicates` would assume that
registering introspection or invocation hints for "all declared methods"
on a type would also include "all public methods". This is not true, as
the Java reflection API itself behaves differently.
`getDeclaredMethods()` does not return a superset of `getMethods()`, as
the latter can return inherited methods, but not the former.
Same reasoning applies to fields.
This commit fixes the hints predicates to only match if the correct hint
has been registered.
Fixes gh-31224
2023-09-15 17:50:53 +02:00
Juergen Hoeller
aa1360b154
Complete set of constructors with consistent javadoc
...
Closes gh-31234
2023-09-15 17:45:13 +02:00
Marten Deinum
e42e89c04f
Add constructors to take ObjectMapper
...
Prior to this commit in the message converters it was possible
to set a pre-configured ObjectMapper. However the constructor
would still create and configure an ObjectMapper.
With the added constructor it is now possible to directly
construct the message converter with the proper ObjectMapper.
This prevents the this additional ObjectMapper to be constructed.
2023-09-15 17:19:51 +02:00
Stéphane Nicoll
f628c601a7
Merge pull request #28132 from ctailor2
...
* pr/28132:
Polish "Allow batch update to take a KeyHolder"
Allow batch update to take a KeyHolder
Closes gh-28132
2023-09-15 16:46:36 +02:00
Stéphane Nicoll
c21a9b94c5
Polish "Allow batch update to take a KeyHolder"
...
See gh-28132
2023-09-15 16:46:21 +02:00
Chirag Tailor
78db5dd516
Allow batch update to take a KeyHolder
...
See gh-28132
2023-09-15 16:38:17 +02:00
Arjen Poutsma
056de7e898
Enable disabled multi-part Netty 2 tests
...
See gh-31110
2023-09-15 14:20:12 +02:00
Arjen Poutsma
81ebc3a6f3
MultipartParser should respect read position
...
This commit ensures that the MultipartParser takes a buffer's read
position into account.
Closes gh-31110
2023-09-15 14:20:12 +02:00
Arjen Poutsma
8f130316d2
MultipartParser should respect read position
...
This commit ensures that the MultipartParser takes a buffer's read
position into account.
Closes gh-31110
2023-09-15 13:46:04 +02:00
Stéphane Nicoll
6d948d03e5
Remove outdated declaration
...
See gh-25933
2023-09-15 11:19:51 +02:00
Stéphane Nicoll
c3d1a886de
Merge pull request #23651 from runeflobakk
...
* pr/23651:
Polish contribution
Add default methods to MailSender and JavaMailSender when appropriate
Closes gh-23651
2023-09-15 10:28:43 +02:00
Stéphane Nicoll
978c409d85
Polish contribution
...
See gh-23651
2023-09-15 10:25:16 +02:00
Rune Flobakk
f67fad4c14
Add default methods to MailSender and JavaMailSender when appropriate
...
send(..) -methods of JavaMailSenderImpl which is only delegating to
other methods are pulled up as default methods in the interfaces
JavaMailSender and MailSender, to make these interfaces require fewer
methods to implement.
See gh-23651
2023-09-15 10:25:06 +02:00
Stéphane Nicoll
3c4eef1d73
Merge pull request #31237 from ghainesii
...
* pr/31237:
Add missing period in RestClient documentation
Closes gh-31237
2023-09-15 08:58:14 +02:00
ghainesii
0a324ea9a7
Add missing period in RestClient documentation
...
See gh-31237
2023-09-15 08:57:47 +02:00
Niharika Tiwari
9d7f9b5284
Improve wording in Javadoc for @Autowired
...
#31235
2023-09-14 17:45:03 +02:00
Juergen Hoeller
4746f587ea
Merge branch '6.0.x'
...
# Conflicts:
# gradle.properties
2023-09-14 16:51:52 +02:00
Juergen Hoeller
54c4f1b226
Reset findLoadedClassMethod in case of makeAccessible failing
...
Closes gh-31232
2023-09-14 16:45:16 +02:00
Yanming Zhou
46397381ba
Eliminate synchronized block to avoid thread pinning in SingletonSupplier
2023-09-14 16:37:32 +02:00
Sam Brannen
09b1e5edf6
Extract instantiateComponents() method in AbstractTestContextBootstrapper
2023-09-14 14:52:35 +02:00
Spring Builds
062c6241e1
Next development version (v6.0.13-SNAPSHOT)
2023-09-14 08:03:11 +00:00
Juergen Hoeller
59961960dd
Merge branch '6.0.x'
2023-09-14 09:30:40 +02:00
Juergen Hoeller
a51eb29e50
Clarify IN clause resolution with List/Iterable parameter
...
Closes gh-31228
2023-09-14 09:24:18 +02:00
Stephane Nicoll
727f69ae70
Merge branch '6.0.x'
2023-09-13 21:25:14 +02:00
Stephane Nicoll
92b6c5df4f
Upgrade to Context Propagation 1.1.0-M4
...
Closes gh-31220
2023-09-13 21:10:46 +02:00
Stephane Nicoll
e109c55192
Upgrade to Reactor 2023.0.0-M3
...
Closes gh-31219
2023-09-13 21:10:46 +02:00
Stephane Nicoll
8f21c228b8
Upgrade to Micrometer 1.12.0-M3
...
Closes gh-31218
2023-09-13 21:10:46 +02:00
Sam Brannen
a220c545fc
Support declarative ContextCustomizerFactory registration in the TCF
...
Prior to this commit, it was only possible to register a
ContextCustomizerFactory in the TestContext framework (TCF) via the
SpringFactoriesLoader mechanism.
This commit introduces support for declarative registration of a
ContextCustomizerFactory local to a test class via a new
@ContextCustomizerFactories annotation.
Closes gh-26148
2023-09-13 19:59:50 +02:00
Sam Brannen
99a50e7cea
Polishing
2023-09-13 19:52:17 +02:00
Sébastien Deleuze
68ba55bea9
Fix ModelInitializerKotlinTests
...
See gh-30894
2023-09-13 18:30:01 +02:00
Stephane Nicoll
50d4a44dfc
Upgrade to Context Propagation 1.0.5
...
Closes gh-31223
2023-09-13 18:19:06 +02:00
Stephane Nicoll
ebf2cef94e
Upgrade to Reactor 2022.0.11
...
Closes gh-31222
2023-09-13 18:17:52 +02:00
Stephane Nicoll
c89002a0fb
Upgrade to Micrometer 1.10.11
...
Closes gh-31221
2023-09-13 18:16:59 +02:00
Sébastien Deleuze
bb85d9b5e4
Merge branch '6.0.x'
2023-09-13 18:07:59 +02:00
Sébastien Deleuze
29a4dabbe7
Support @ModelAttribute with suspending function in WebFlux
...
Closes gh-30894
2023-09-13 17:59:39 +02:00
Sam Brannen
a678be80ea
Merge branch '6.0.x'
2023-09-13 17:51:02 +02:00
Sam Brannen
f5f8eab405
Remove duplicated section links for test annotations
...
Since the auto-generated "Section Summary" includes the exact same
links, there's no need to manually duplicate them.
2023-09-13 17:50:12 +02:00
Juergen Hoeller
550f05c9dc
Merge branch '6.0.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessor.java
2023-09-13 17:28:54 +02:00
Juergen Hoeller
659500bc1f
Polishing
2023-09-13 17:27:32 +02:00
Juergen Hoeller
4235a11c4f
Throw IllegalArgumentException for unsupported Duration values
...
Closes gh-31210
2023-09-13 17:15:32 +02:00
Juergen Hoeller
966b0a92c6
Defensively call Resource.getFile() for fallback resolution
...
Closes gh-31216
2023-09-13 17:14:04 +02:00