Sébastien Deleuze
b52300eab8
Document GraalVM substitutions upcoming removal
2022-11-17 18:01:02 +01:00
Sam Brannen
031adfb8ec
Use lambda expression for Callable example in ref docs
2022-11-17 17:13:50 +01:00
Arjen Poutsma
792371ac1f
Generalize Jackson version numbers
...
This commit removes specific version info from Jackson codecs and
converters, in favor of generic info or removing the version information
all together.
See gh-29508
2022-11-17 16:56:38 +01:00
Brian Clozel
62bbebd4f4
Polishing
2022-11-17 16:55:53 +01:00
Sam Brannen
ac7d428a62
Work around code example callout bug
...
This commit adds callouts to two sets of Java/Kotlin code examples in
the @ModelAttribute section for Web MVC in order to work around the
"Code example has callout from a different code example" bug.
This also aligns the Web MVC examples with the WebFlux examples.
As a side note, the bug can also be seen in the WebFlux documentation
if the callouts are removed from the first Java/Kotlin examples in the
@ModelAttribute section for WebFlux. Thus it appears to be a general
issue related to examples within a given section of the documentation
when some examples have callouts and others do not, likely due to a bug
in the Javascript that provides this feature.
See gh-29505
2022-11-17 16:37:08 +01:00
Sam Brannen
f6eaa8e63c
Add missing callouts
2022-11-17 16:36:40 +01:00
Sam Brannen
cd27fbe550
Add callouts to Kotlin examples for parity
2022-11-17 16:36:40 +01:00
Sam Brannen
bbfc39efc9
Polishing
2022-11-17 16:36:40 +01:00
Brian Clozel
1a8a69d289
Refactor Asciidoctor attributes in reference docs
...
This commit reorganizes the asciidoctor attributes for the reference
documentation. Instead of being contributed partially by the build and
individual documents, attributes are now shared in common files that are
included in top sections.
2022-11-17 15:35:28 +01:00
Stephane Nicoll
e16cdfede0
Merge pull request #29508 from wilkinsona
...
* pr/29508:
Update Jackson-based decoders to reflect 2.14 baseline
Closes gh-29508
2022-11-17 11:34:19 +01:00
Andy Wilkinson
26df6fbada
Update Jackson-based decoders to reflect 2.14 baseline
...
See gh-29508
2022-11-17 11:22:15 +01:00
Sam Brannen
508d2c7a77
Fix Javadoc formatting issues for headings
...
Headings in method-level Javadoc must be h4 or higher in recent versions
of Java.
2022-11-16 14:09:42 +01:00
Sam Brannen
428539f30d
Polishing
2022-11-16 13:52:10 +01:00
Sam Brannen
d0d5730f7f
Suppress "removal" warnings in CronSequenceGeneratorTests
2022-11-16 12:30:10 +01:00
Spring Builds
befa4b14cd
Next development version (v6.0.1-SNAPSHOT)
2022-11-16 10:26:53 +00:00
Stephane Nicoll
42856bab16
Add milestone repo for optional Netty 5 support
...
Closes gh-29498
2022-11-16 11:03:14 +01:00
Arjen Poutsma
9be6cea012
Polishing deprecated methods
...
Added since and forRemoval to Deprecated methods.
2022-11-16 09:58:04 +01:00
Andy Wilkinson
37b439182e
Align javadoc of DefaultParameterNameDiscoverer with its behavior
2022-11-16 08:16:57 +01:00
Stephane Nicoll
09a58a55bf
Polish
2022-11-15 20:10:03 +01:00
Andriy
10f4ad1a44
Assert fixed in DefaultErrorResponseBuilder
...
Fixed assert on wrong constructor fields
2022-11-15 19:55:18 +02:00
Sam Brannen
9457ed342d
Document AOT support in the TestContext framework
...
Closes gh-29482
2022-11-15 17:29:16 +01:00
Sam Brannen
074ec97655
Fix section formatting in the testing chapter
2022-11-15 17:25:27 +01:00
Sam Brannen
9ede4afc34
Revert "Ignore HttpComponents Javadoc"
...
This reverts commit f50b472ceb
.
HttpComponents Javadoc is available again.
See gh-29479
See https://issues.apache.org/jira/browse/HTTPCLIENT-2227
2022-11-15 15:06:55 +01:00
Sam Brannen
bfc125105f
Merge branch '5.3.x'
2022-11-15 14:47:21 +01:00
Sam Brannen
8e64701cb7
Fix Javadoc formatting issue in TestSocketUtils
2022-11-15 14:47:00 +01:00
Sam Brannen
ae9a9e3c06
Document TestSocketUtils in the testing chapter
2022-11-15 14:43:56 +01:00
Sam Brannen
fe03654e83
Update testing chapter regarding Servlet 6.0 baseline for mocks
2022-11-15 14:31:43 +01:00
Sam Brannen
da920bc488
Polish AOT ref docs
2022-11-15 14:25:13 +01:00
Juergen Hoeller
8937015993
Merge branch '5.3.x'
...
# Conflicts:
# build.gradle
2022-11-15 13:13:29 +01:00
Juergen Hoeller
c94025699f
Upgrade to Reactor 2020.0.25
...
See gh-29464
2022-11-15 13:11:32 +01:00
Juergen Hoeller
f8b4be3b82
Straight filename extraction for URI path (decoded and standard separators)
...
See gh-29486
2022-11-15 12:50:15 +01:00
Sam Brannen
abf3400c07
Use Assert.state() where appropriate
2022-11-15 12:31:10 +01:00
Sam Brannen
2aa78889d2
Use consistent wording in precondition error messages
2022-11-15 12:31:01 +01:00
Stephane Nicoll
711a63adca
Polish
...
See gh-29391
2022-11-15 11:53:01 +01:00
Juergen Hoeller
9235e3996f
Equivalent code without java.net.URL constructor in comment blocks
...
See gh-29486
See gh-29481
2022-11-15 00:33:48 +01:00
Juergen Hoeller
7d2543ed82
Extract filename from cleaned path (for consistent separator handling)
...
See gh-29486
2022-11-14 23:53:39 +01:00
Juergen Hoeller
588a70218a
Merge branch '5.3.x'
...
# Conflicts:
# spring-beans/src/main/java/org/springframework/beans/factory/annotation/AutowiredAnnotationBeanPostProcessor.java
2022-11-14 23:38:10 +01:00
Juergen Hoeller
ec3f59e6fe
Allow AutoCloseable dereferences on original AutoCloseable beans
...
Closes gh-29480
2022-11-14 23:37:05 +01:00
Juergen Hoeller
49ee4a4fdf
Deprecated unused findAutowireCandidates template method (removed in 6.0)
...
See gh-29487
2022-11-14 23:35:47 +01:00
Juergen Hoeller
28cd39abf9
Remove unused AutowiredAnnotationBeanPostProcessor template methods
...
Closes gh-29487
2022-11-14 23:23:39 +01:00
Juergen Hoeller
aaeb5eb0d2
Avoid direct URL construction and URL equality checks
...
Closes gh-29486
2022-11-14 23:23:12 +01:00
Sam Brannen
0b21c16fa8
Suppress unused warning in test code
2022-11-14 20:41:47 +01:00
Sam Brannen
7d731ee754
Merge branch '5.3.x'
...
# Conflicts:
# spring-core/src/test/java/org/springframework/util/SocketUtilsTests.java
2022-11-14 20:31:26 +01:00
Sam Brannen
698f8995f7
Revise TestSocketUtils and tests
...
Closes gh-29132
2022-11-14 20:26:58 +01:00
Chris Bono
ee51dab1f3
Introduce TestSocketUtils as a replacement for SocketUtils
...
SocketUtils was officially deprecated in 5.3.16 (gh-28052) and removed
in 6.0 M3 (gh-28054); however, there is still need for a subset of this
functionality in integration tests for testing scenarios in which it is
not possible for the system under test to select its own random port
(or rely on the operating system to provide an ephemeral port).
This commit therefore introduces a scaled down version in the
spring-test module called TestSocketUtils which supports retrieval of a
single TCP port.
See gh-29132
2022-11-14 20:26:58 +01:00
Sam Brannen
743a96b75e
Polish SocketUtilsTests
2022-11-14 20:26:58 +01:00
Sam Brannen
6efc3dadf1
Apply "instance pattern matching"
2022-11-14 17:12:20 +01:00
Sam Brannen
07ba13c9ca
Remove superfluous method override
2022-11-14 17:11:58 +01:00
Stephane Nicoll
5421a36c8f
Add section on runtime hints
...
See gh-29350
2022-11-14 14:54:27 +01:00
Brian Clozel
3573022b96
Fix version change in previous commit
2022-11-14 13:23:05 +01:00