Yanming Zhou
59815cefce
Replace assertThat(x.get(i)). with assertThat(x).element(i).
...
Search for : assertThat\((.+)\.get\((\d+)\)\)\.
Replace with : assertThat($1).element($2).
Closes gh-31759
2 years ago
Yanming Zhou
785ad399e9
Replace assertThat(x.iterator().next()) with assertThat(x).element(0)
...
Search for : assertThat\((.+).iterator\(\).next\(\)\)
Replace with : assertThat($1).element(0)
2 years ago
Sébastien Deleuze
3f9a809c32
Improve `@RegisterReflectionForBinding` for enums
...
Closes gh-31570
2 years ago
Sam Brannen
c74d60b9fe
Polishing
2 years ago
Sam Brannen
db48813181
Polish contribution
...
See gh-31757
2 years ago
HyeongMokJeong
a596c0e226
Introduce overloaded MockPart constructor that accepts the Content-Type
...
Closes gh-31757
2 years ago
Sam Brannen
462ef95904
Fix typo in Javadoc
2 years ago
Arjen Poutsma
52d4b83dba
Partially revert RequestPredicates attribute handling
...
This commit partially reverts 39786e4790
and c5c843696b , as the approach taken did
not take into account request predicates that query request attributes,
including path variables.
Closes gh-31732
2 years ago
Sam Brannen
aa347e5fe6
Polish MutablePropertyValuesTests
2 years ago
Sam Brannen
ceba4162bb
Replace assertThat(!x).isTrue() with assertThat(x).isFalse()
...
Search for : assertThat\(!(.+)\).isTrue\(\)
Replace with : assertThat(\1).isFalse()
2 years ago
Stéphane Nicoll
21560bccd3
Merge pull request #31752 from quaff
...
* pr/31752:
Polish "Use idiomatic AssertJ map assertions"
Use idiomatic AssertJ map assertions
Closes gh-31752
2 years ago
Stéphane Nicoll
1da40b84e7
Polish "Use idiomatic AssertJ map assertions"
...
See gh-31752
2 years ago
Yanming Zhou
6f11716b6f
Use idiomatic AssertJ map assertions
...
See gh-31752
2 years ago
Juergen Hoeller
47fe61ef79
Introduce lazyTransactionalConnections flag on TransactionAwareDataSourceProxy
...
Includes revision of JDBC transaction tests.
Closes gh-29423
2 years ago
Juergen Hoeller
8a82da43c9
Defensively wrap fixed-delay task on scheduler thread
...
Closes gh-31749
2 years ago
Sam Brannen
cb60f74556
Stop referring to JDO PersistenceManager in comments
2 years ago
Sam Brannen
62b3d7a963
Update copyright headers
2 years ago
Sam Brannen
b69e5acfe3
Revert use of yield in switch expressions due to Eclipse compiler error
...
See gh-31531
2 years ago
Sam Brannen
d71853f105
Polish contribution
...
See gh-31531
2 years ago
Yanming Zhou
490b5c77fc
Use switch expression where feasible
2 years ago
Sam Brannen
8ed04b5dd1
Polish contribution
...
See gh-31723
2 years ago
Per Lundberg
87d37a21aa
Link to spring.factories used in the TestContext framework in the ref docs
...
Closes gh-31723
2 years ago
Sam Brannen
eee2569bff
Polishing
2 years ago
Stéphane Nicoll
dbec3f1fa1
Polish
2 years ago
Sam Brannen
e870912fa2
Polish Javadoc for MockRestServiceServer
...
See gh-31741
2 years ago
Donghun Shin
99f50ebeb4
Fix Javadoc for MockRestServiceServer.bindTo(RestClient.Builder)
...
Closes gh-31741
2 years ago
Sam Brannen
cd62dfe3a9
Polish FastByteArrayOutputStream[Tests]
...
See gh-31737
2 years ago
Patrick Strawderman
7cdacf3083
Introduce toString(Charset) in FastByteArrayOutputStream
...
This commit introduces a toString() overload in
FastByteArrayOutputStream that accepts a Charset in order to mirror the
method that was introduced in ByteArrayOutputStream in JDK 10,
including a special case for when a single buffer is in use internally
to avoid the need to resize.
This commit also updates getContentAsString() in
ContentCachingRequestWrapper to use this new toString(Charset) method.
Closes gh-31737
2 years ago
Stéphane Nicoll
0bec8125a4
Merge pull request #31736 from tylerbertrand
...
* pr/31736:
Use relative path for javadoc overview
Closes gh-31736
2 years ago
Tyler Bertrand
da32e3d39e
Use relative path for javadoc overview
...
See gh-31736
2 years ago
Sam Brannen
47cdc7c5f0
Update copyright headers
...
See gh-31738
2 years ago
dogglezz
decb22a93d
Polish Javadoc
...
Closes gh-31738
2 years ago
rstoyanchev
d59b2924d3
Exclude any Java library type from nested constructor binding
...
Closes gh-31709
2 years ago
Sam Brannen
c05b4ce776
Suppress warnings in Gradle build
2 years ago
Sam Brannen
3a53446a2b
Upgrade to Gradle 8.5
...
Closes gh-31734
2 years ago
Arjen Poutsma
d204dd2dbe
Use IntrospectingClientHttpResponse in RestClient
...
This commit ensures that the RestClient uses the
IntrospectingClientHttpResponse to verify whether the response has a
body, and return null if it does not.
See gh-12671
Closes gh-31719
2 years ago
Stéphane Nicoll
0dbb0f5c14
Merge pull request #31731 from kilink
...
* pr/31731:
Avoid byte array copy in getContentAsString
Closes gh-31731
2 years ago
Patrick Strawderman
e452c2e89c
Avoid byte array copy in getContentAsString
...
The getContentAsString method was originally added in d9b8826 to avoid
the extra copying inherent to calling ByteArrayOutputStream.toByteArray;
however, in f83c609 the class was updated to instead use
FastByteArrayOutputStream, and in the process the extra copy was brought
back when getContentAsString was changed to call toByteArray.
Switch to calling toByteArrayUnsafe, a method provided by
FastByteArrayOutputStream, which avoids the extra copy; since we
immediately pass the byte array to the String constructor, and it isn't
accessed anywhere else, the usage is safe.
See gh-31731
2 years ago
Sam Brannen
6ea9fdbf77
Polishing
2 years ago
Sébastien Deleuze
8ff687b68c
Polish BeanDefinitionDsl.kt
2 years ago
Sébastien Deleuze
bf1c179b7f
Allow to set the order from Kotlin bean DSL
...
Closes gh-30849
2 years ago
Sébastien Deleuze
16ac495084
Introduce ORDER_ATTRIBUTE on AbstractBeanDefinition
...
This commit allows to define a bean order programmatically
at bean definition level (functional equivalent of
`@Order`).
If specified, the order attribute defined at bean
definition level overrides potential values set with
`@Order`.
See gh-30849
2 years ago
Sam Brannen
a506238ef6
Polishing
2 years ago
Sam Brannen
33af98b6d6
Document need for -parameters flag in cache key generation exception messages
...
Closes gh-31675
2 years ago
Juergen Hoeller
edfe179291
Polishing
2 years ago
Juergen Hoeller
5f9702b2a4
Introduce rollbackBeforeClose property and AutoCloseable implementation
...
Closes gh-27249
2 years ago
Juergen Hoeller
c56c304536
PathEditor considers single-letter URI scheme as NIO path candidate
...
Closes gh-29881
2 years ago
rstoyanchev
8090a52f5c
ForwardedHeaderFilter supports ERROR requestUri attribute
...
Closes gh-30828
2 years ago
rstoyanchev
19bca03aa2
Polishing in ForwardedHeaderFilter
...
See gh-30828
2 years ago
rstoyanchev
0e6e225fb9
Implement messageSize methods in JettyWebSocketSession
...
Closes gh-28325
2 years ago