Stéphane Nicoll
c7c61e13e1
Merge pull request #32514 from izeye
...
* pr/32514:
Apply UnnecessarySemicolonInEnumeration Checkstyle module
Closes gh-32514
2024-03-22 16:31:54 +01:00
Johnny Lim
4d722414da
Apply UnnecessarySemicolonInEnumeration Checkstyle module
...
This commit also fixes its violation.
See gh-32514
2024-03-22 16:30:06 +01:00
Sébastien Deleuze
87dfa492af
Refine null-safety in spring-webflux
...
See gh-32475
2024-03-22 16:05:17 +01:00
Sébastien Deleuze
cf9033a60d
Polishing
2024-03-22 16:04:03 +01:00
Sébastien Deleuze
1e80694daf
Fix a regression with Kotlin generic controllers
...
This commit reintroduces a more defensive parameter type check that
skips KClass casting for generic parameters.
Closes gh-32510
2024-03-21 17:55:57 +01:00
Stéphane Nicoll
e17c3d3be4
Upgrade actions that use deprecated features
2024-03-20 10:16:09 +01:00
Sébastien Deleuze
2e98a8a2a4
Refine null-safety in spring-expression
...
See gh-32475
2024-03-20 10:07:56 +01:00
Stéphane Nicoll
592f23674d
Merge pull request #32494 from qww1552
...
* pr/32494:
Fix link to vavr in the reference guide
Closes gh-32494
2024-03-20 10:01:47 +01:00
Minsung Oh
0b3a05b463
Fix link to vavr in the reference guide
...
See gh-32494
2024-03-20 09:48:00 +01:00
Sam Brannen
ef02f0bad8
Wrap InvalidMimeTypeException in HttpMediaTypeNotAcceptableException
...
The fix for #31254 resulted in an InvalidMimeTypeException being thrown
by MimeTypeUtils.sortBySpecificity() instead of an
IllegalArgumentException. However, InvalidMimeTypeException extends
IllegalArgumentException. Consequently, the change from
IllegalArgumentException to InvalidMimeTypeException did not result in
the desired effect in HeaderContentNegotiationStrategy.
HeaderContentNegotiationStrategy.resolveMediaTypes() still allows the
InvalidMimeTypeException to propagate as-is without wrapping it in an
HttpMediaTypeNotAcceptableException.
To address this issue, this commit catches InvalidMediaTypeException
and InvalidMimeTypeException in HeaderContentNegotiationStrategy and
wraps the exception in an HttpMediaTypeNotAcceptableException.
See gh-31254
See gh-31769
Closes gh-32483
2024-03-19 15:51:27 +01:00
Sam Brannen
836a0b3a40
Polishing
2024-03-19 14:19:01 +01:00
Sam Brannen
09f210f5f7
Polish wording in reference manual
2024-03-19 14:15:19 +01:00
Sébastien Deleuze
aa0fb97ba5
Nullability refinements
...
See gh-32475
2024-03-19 13:32:13 +01:00
Sébastien Deleuze
71a117c0fd
Document AOT limitations related to Kotlin backticks
...
Closes gh-32487
2024-03-19 11:03:56 +01:00
Juergen Hoeller
bd27ddf83a
Polishing (aligned with main)
2024-03-19 10:05:32 +01:00
Juergen Hoeller
c531a8a705
Nullability refinements and related polishing
...
See gh-32475
2024-03-19 09:58:44 +01:00
Juergen Hoeller
cd7ba1835c
Propagate JMS IllegalStateException from commit/rollbackIfNecessary
...
Closes gh-32473
2024-03-18 16:03:13 +01:00
Juergen Hoeller
5dc6a16c0b
Nullability refinements
...
See gh-32475
2024-03-18 16:03:00 +01:00
Sam Brannen
42a4f28962
Avoid unnecessary Annotation array cloning in TypeDescriptor
...
Closes gh-32476
2024-03-18 15:17:04 +01:00
Brian Clozel
521d4f24d0
Remove flaky test in JMS observation
...
There is no way to consistently test this use case because listener
container implementations have different behavior for unhandled errors
and might retry or close the container altogether.
See gh-32458
2024-03-18 14:35:42 +01:00
Stéphane Nicoll
039cbb3466
Merge pull request #32474 from izeye
...
* pr/32474:
Add Javadoc since to AbstractClientHttpRequestFactoryWrapper.getDelegate()
Closes gh-32474
2024-03-18 14:10:58 +01:00
Johnny Lim
d50c94fca9
Add Javadoc since to AbstractClientHttpRequestFactoryWrapper.getDelegate()
...
See gh-32474
2024-03-18 14:08:59 +01:00
Brian Clozel
c1424acb94
Fix flaky test in JMS observability
...
See gh-32458
2024-03-18 12:17:57 +01:00
Juergen Hoeller
36d1bc57d7
Upgrade to Checkstyle 10.14.2
2024-03-17 20:54:54 +01:00
Juergen Hoeller
b1c3b6e34b
Restore original toString representation (revert accidental backport)
...
See gh-32405
2024-03-17 20:42:29 +01:00
Juergen Hoeller
eb8b7c4331
Remove superfluous @NonNull declarations
2024-03-16 14:22:17 +01:00
Juergen Hoeller
58bd057a24
Avoid cloning empty Annotation array in TypeDescriptor (backport)
...
Closes gh-32405
2024-03-16 14:21:34 +01:00
Brian Clozel
a78704af24
Record unhanlded JMS exceptions as observation errors
...
Prior to this commit, when using the `DefaultMessageListenerContainer`
as a backing listener container for JMS messages, the instrumentation
would not record JMS exceptions as observation errors when they were not
handled by configured `ErrorHandler`.
This commit ensures that this is the case.
Fixes gh-32458
2024-03-15 22:45:36 +01:00
Juergen Hoeller
d2000efbd8
Polishing
2024-03-15 21:17:01 +01:00
Juergen Hoeller
c23fd784a0
Consistently apply TaskDecorator to ManagedExecutorService as well
...
Closes gh-32455
2024-03-15 21:16:37 +01:00
Stéphane Nicoll
68a3993897
Merge pull request #32446 from LinorDolev
...
* pr/32446:
Polish "Fix default strategy description of ProblemDetail error codes"
Fix default strategy description of ProblemDetail error codes
Closes gh-32446
2024-03-15 08:28:19 +01:00
Stéphane Nicoll
dfc1b839f3
Polish "Fix default strategy description of ProblemDetail error codes"
...
See gh-32446
2024-03-15 08:27:59 +01:00
Linor Dolev
302c24aaa8
Fix default strategy description of ProblemDetail error codes
...
See gh-32446
2024-03-15 08:02:20 +01:00
Stéphane Nicoll
7357812b4e
Polish "Only include production branches for docs deployment"
...
See gh-32434
2024-03-14 17:47:12 +01:00
Stéphane Nicoll
30087e1aea
Only include production branches for docs deployment
...
Closes gh-32434
2024-03-14 17:42:02 +01:00
Stéphane Nicoll
cd5758e610
Restore CI execution per commit
...
As scheduled only works on the base branch anyway
See gh-32436
2024-03-14 15:28:23 +01:00
Stéphane Nicoll
b82a0dd31a
Polish "Move CI and snapshot deployment to GitHub actions"
...
See gh-32436
2024-03-14 15:16:02 +01:00
Stéphane Nicoll
b7280400ee
Move CI and snapshot deployment to GitHub actions
...
Closes gh-32436
2024-03-14 15:01:26 +01:00
Spring Builds
a3345920ec
Next development version (v6.1.6-SNAPSHOT)
2024-03-14 09:58:35 +00:00
rstoyanchev
381f790329
Extract reusable checkSchemeAndPort method
...
Closes gh-32440
2024-03-14 08:45:38 +00:00
Juergen Hoeller
f5a3658535
Upgrade to Protobuf 3.25.3, Woodstox 6.6.1, JsonPath 2.9, QDox 2.1
2024-03-13 18:06:44 +01:00
Juergen Hoeller
54a6d89da7
Additional unit tests for operations on empty UriTemplate
...
See gh-32432
2024-03-13 18:06:17 +01:00
Stéphane Nicoll
2922a82275
Merge pull request #32432 from bsgrd
...
* pr/32432:
Polish "Allow UriTemplate to be built with an empty template"
Allow UriTemplate to be built with an empty template
Closes gh-32432
2024-03-13 17:27:52 +01:00
Stéphane Nicoll
a34ceb405c
Polish "Allow UriTemplate to be built with an empty template"
...
See gh-32432
2024-03-13 17:21:46 +01:00
Kasper Bisgaard
1b25a1506a
Allow UriTemplate to be built with an empty template
...
See gh-32432
2024-03-13 17:20:08 +01:00
Juergen Hoeller
723c94e5ac
Polishing
2024-03-12 20:10:01 +01:00
Juergen Hoeller
e5a69dcfdf
Upgrade to Reactor 2023.0.4 and Micrometer 1.12.4
...
Includes AspectJ 1.9.21.1, Groovy 4.0.19, Tomcat 10.1.19, Jetty 12.0.7, Jackson 2.15.4, OpenPDF 1.3.42, Mockito 5.11, Checkstyle 10.14.1
Closes gh-32420
Closes gh-32431
2024-03-12 20:07:58 +01:00
Xednar
c2248c968c
Update Javadoc in DefaultUserDestinationResolver
...
Closes gh-32272
2024-03-12 11:43:24 +00:00
Sébastien Deleuze
9cc74e78f8
Refine "Redirecting to a resource" section code sample
...
The commit updates the code sample to use a null element friendly list.
Closes gh-32423
2024-03-12 12:22:37 +01:00
Brian Clozel
9910df85cd
Remove observation context from ClientRequest
...
Prior to this commit, gh-31609 added the current observation context as
a request attribute for `WebClient` calls. While it was not confirmed as
the main cause, this feature was linked to several reports of memory
leaks. This would indeed attach more memory to the request object graph
at runtime - although it shouldn't prevent its collection by the GC.
This commit removes this feature and instead developers should get the
current observation from the reactor context if they wish to interact
with it.
Closes gh-32198
2024-03-12 09:49:00 +01:00