Sam Brannen
bf6cb7cd89
Delete manually crafted section summary for Java-based Container Config
...
Closes gh-31777
2 years ago
Sam Brannen
2c053b34f0
Delete manually crafted section summary for the SpEL Language Reference
...
Closes gh-31776
2 years ago
Sam Brannen
438c3818cc
Replace System.getProperties().remove(x) with System.clearProperty(x)
...
This commit migrates to the not-so-new System.clearProperty() method
introduced in Java 1.5.
2 years ago
Sam Brannen
f14b122c9c
Fix #this and #root variable examples in SpEL documentation
...
This commit actually introduces a new example for #root variable usage,
which was previously missing.
Closes gh-31770
2 years ago
Sam Brannen
9f305bfaab
Polish SpEL examples and tests
2 years ago
Sébastien Deleuze
d410872e4f
Polish CookieIntegrationTests
2 years ago
Sébastien Deleuze
8fe2c780df
Support cookies with the same name with Reactor Netty
...
Ignore the related test with Undertow due to a bug in
their cookies handling.
Closes gh-28490
2 years ago
Stéphane Nicoll
b53ffa3855
Merge pull request #31700 from quaff
...
* pr/31700:
Polish contribution
Add support for location patterns in ResourceArrayPropertyEditor
Closes gh-31700
2 years ago
Stéphane Nicoll
25537938d6
Polish contribution
...
See gh-31700
2 years ago
Yanming Zhou
9704b809b1
Add support for location patterns in ResourceArrayPropertyEditor
...
This commit adds support for comma delimited location patterns in
ResourceArrayPropertyEditor.
See gh-31700
2 years ago
Arjen Poutsma
0e6c17f518
Process tokens after each feed in Jackson2Tokenizer
...
This commit ensures that we process after each fed buffer in
Jackson2Tokenizer, instead of after all fed buffers.
Closes gh-31747
2 years ago
Sam Brannen
1afea0b144
Fix and polish Javadoc for MimeTypeUtils
2 years ago
Johnny Lim
7b95bd72f7
Fix condition for "Too many elements" in MimeTypeUtils.sortBySpecificity()
...
See gh-31254
Closes gh-31769
2 years ago
Sam Brannen
fdcea58a53
Polishing
2 years ago
Arjen Poutsma
ef4ffa0005
Support empty part in DefaultPartHttpMessageReader
...
This commit fixes a bug in DefaultPartHttpMessageReader's
MultipartParser, due to which the last token in a part window was not
properly indicated.
Closes gh-30953
2 years ago
Sébastien Deleuze
2e3d13331a
Document `@ModelAttribute` usage with native images
...
Closes gh-31765
2 years ago
Sam Brannen
448e753184
Honor classValuesAsString in getMergedRepeatableAnnotationAttributes()
...
Closes gh-31768
2 years ago
Sam Brannen
6b53f37030
Favor local @ComponentScan annotations over meta-annotations
...
Work performed in conjunction with gh-30941 resulted in a regression.
Specifically, prior to Spring Framework 6.1 a locally declared
@ComponentScan annotation took precedence over @ComponentScan
meta-annotations, which allowed "local" configuration to override
"meta-present" configuration.
This commit modifies the @ComponentScan search algorithm so that
locally declared @ComponentScan annotations are once again favored
over @ComponentScan meta-annotations (and, indirectly, composed
annotations).
See gh-30941 Closes gh-31704
2 years ago
Yanming Zhou
afcd03bddc
Replace assertThat(x.isEmpty()).isTrue() with assertThat(x).isEmpty()
...
Search for : assertThat\((.+).isEmpty\(\)\).isTrue\(\)
Replace with : assertThat($1).isEmpty()
Search for : assertThat\((.+).isEmpty\(\)\).isFalse\(\)
Replace with : assertThat($1).isNotEmpty()
Closes gh-31758
2 years ago
Yanming Zhou
7b16ef90f1
Replace assertThat(x.equals(y)) with assertThat(x).isEqualTo(y)
...
Search for : assertThat\((.+)\.equals\((\w+)\)\)\.isTrue\(\)
Replace with : assertThat($1).isEqualTo($2)
Search for : assertThat\((.+)\.equals\((\w+)\)\)\.isFalse\(\)
Replace with : assertThat($1).isNotEqualTo($2)
Closes gh-31763
2 years ago
Yanming Zhou
e2852e7355
Replace assertThat(x.contains(y)).isTrue() with assertThat(x).contains(y)
...
Search for : assertThat\((.+)\.contains\((.+)\)\)\.isTrue\(\)
Replace with : assertThat($1).contains($2)
Search for : assertThat\((.+)\.contains\((.+)\)\)\.isFalse\(\)
Replace with : assertThat($1).doesNotContain($2)
Closes gh-31762
2 years ago
Yanming Zhou
1a63257b12
Add missing @Test
...
Closes gh-31761
2 years ago
Yanming Zhou
66e405525b
Replace assertThat(x instanceof y).isTrue() with assertThat(x).isInstanceOf(y.class)
...
Search for : assertThat\((.+) instanceof (\w+)\)\.isTrue\(\)
Replace with : assertThat($1).isInstanceOf($2.class)
Search for : assertThat\((.+) instanceof (\w+)\)\.isFalse\(\)
Replace with : assertThat($1).isNotInstanceOf($2.class)
Closes gh-31760
2 years ago
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