Sam Brannen
69ef885b68
Merge branch '6.2.x'
1 year ago
Sam Brannen
019f76468b
Revise TestBeanForInheritanceIntegrationTests
...
Amongst other refinements, this commit ensures that the "anotherBean"
use case is actually tested.
1 year ago
Sébastien Deleuze
57c0d95007
Fix detection of JSpecify annotations on parameters
...
See gh-28797
1 year ago
Stéphane Nicoll
f136e27ccf
Merge branch '6.2.x'
1 year ago
Stéphane Nicoll
f802c0cf24
Restore use of MethodSource
1 year ago
Sam Brannen
99bcd3a845
Remove unused code
1 year ago
Sam Brannen
e26c161ae9
Clean up warnings
1 year ago
Sam Brannen
087641c508
Merge branch '6.2.x'
1 year ago
Sam Brannen
0da4ae96b4
Rename internal MockitoBeans class to MockBeans
...
This is a prerequisite for gh-33925 which will introduce a public
@MockitoBeans container annotation in the same package.
1 year ago
Sam Brannen
2ba0022704
Polishing
1 year ago
Stéphane Nicoll
c59ca087b4
Backport tests for exact match resolution
...
See gh-34124
(cherry picked from commit 898d3ec86a )
1 year ago
Sam Brannen
bab8a8300b
Merge branch '6.2.x'
1 year ago
Sam Brannen
9de2b947cb
Upgrade to AssertJ 3.27.1
1 year ago
Sam Brannen
e73e7564d0
Upgrade to Mockito 5.15.2
1 year ago
Brian Clozel
b6de2b0611
Merge branch '6.2.x'
1 year ago
Brian Clozel
d927d64c40
Improve query params in uri KeyValue with HTTP interface client
...
Prior to this commit, the HTTP interface client would create URI
templates and name query params like so:
"?{queryParam0}={queryParam0[0]}".
While technically correct, the URI template is further used in
observations as a KeyValue. This means that several service methods
could result in having the exact same URI template even if they produce
a different set of query params.
This commit improves the naming of query params in the generated URI
templates for better observability integration.
Closes gh-34176
1 year ago
Stéphane Nicoll
69b7624629
Merge branch '6.2.x'
1 year ago
Stéphane Nicoll
8544435833
Merge pull request #34180 from v-perfilev
...
* pr/34180:
Polish "Fix broken link to Code of Conduct in CONTRIBUTING.md"
Fix broken link to Code of Conduct in CONTRIBUTING.md
Closes gh-34180
1 year ago
Stéphane Nicoll
80ea1f62b6
Polish "Fix broken link to Code of Conduct in CONTRIBUTING.md"
...
See gh-34180
1 year ago
Vladimir Perfilev
bc287918f2
Fix broken link to Code of Conduct in CONTRIBUTING.md
...
See gh-34180
1 year ago
Stéphane Nicoll
333dfd1577
Fix build failure
1 year ago
Stéphane Nicoll
067bbce1d3
Merge branch '6.2.x'
1 year ago
Stéphane Nicoll
c9436992c9
Update actions in CI build
1 year ago
rstoyanchev
48308aee26
Merge branch '6.2.x'
1 year ago
rstoyanchev
4350fc21b3
List constructor arg initialized correctly
...
DataBinder now uses the calculated List size rather than
the number of indexes to initialize the list.
Closes gh-34145
1 year ago
rstoyanchev
59ed4686c5
Create ParameterErrors for type level constraint
...
Closes gh-34105
1 year ago
Sébastien Deleuze
e0521fc1a1
Merge branch '6.2.x'
1 year ago
Sébastien Deleuze
d5bebd5ced
Upgrade to Java 17.0.13
1 year ago
Sébastien Deleuze
08d7a38546
Merge branch '6.2.x'
1 year ago
Johnny Lim
6d86b23fbe
Apply Checkstyle MethodParamPadCheck module
...
This commit also fixes its violations.
Closes gh-34173
1 year ago
Simon Baslé
a2bc1ded73
Polishing, fix checkstyle errors
1 year ago
Simon Baslé
eb9ee9fafa
Polishing
...
`@since` missing tags in some methods related to the HttpHeaders change
1 year ago
Simon Baslé
f025d60b92
Merge branch '6.2.x'
1 year ago
Simon Baslé
0f38c28e91
Fix ServletRequestDataBinder ctor binding with `[]`-indexed query params
...
This change ensures that a request containing query parameters in the
array format `someArray[]=value` can be bound into a simple array in
constructors, even for cases where the array values don't have nested
properties.
The value resolver is directly called in the constructor case, before
any mutable properties are considered or even cleared (see
`WebDataBinder#adaptEmptyArrayIndices` method). As a result, we need to
accommodate the possibility that the request stores array elements under
the `name[]` key rather than `name`. This change attempts a secondary
lookup with the `[]` suffix if the type is a list or array, and the key
doesn't include an index.
Closes gh-34121
1 year ago
Simon Baslé
3505c4bcad
Ensure DataBinder can bind constructor with a Map with simple values
...
This change ensures that DataBinder can bind constructor with a Map
parameter that has no nested properties, but just simple values like
a String: `someMap[0]=exampleString`.
Integration tests have been added to cover similar cases that use the
ServletRequestDataBinder.
Closes gh-34043
1 year ago
Stéphane Nicoll
5aab947b6e
Merge branch '6.2.x'
1 year ago
Stéphane Nicoll
58670db46e
Merge pull request #34165 from brendenehlers
...
* pr/34165:
Polish contribution
Fix grammatical structure in "Basic Concepts"
Closes gh-34165
1 year ago
Stéphane Nicoll
0cdb8a1657
Polish contribution
...
Using commas render better than em dashes.
See gh-34165
1 year ago
Brenden Ehlers
fe8c70dddb
Fix grammatical structure in "Basic Concepts"
...
See gh-34165
1 year ago
Sébastien Deleuze
6c86914709
Refine null-safety in the spring-webmvc module
...
Closes gh-34164
1 year ago
Sébastien Deleuze
b332920b17
Refine null-safety in the spring-webflux module
...
Closes gh-34163
1 year ago
Sébastien Deleuze
5fba926ab6
Refine null-safety in the spring-web module
...
Closes gh-34162
1 year ago
Sébastien Deleuze
a442c180f1
Refine null-safety in the spring-test module
...
Closes gh-34161
1 year ago
Sébastien Deleuze
7417bd0ac1
Refine null-safety in the spring-r2dbc module
...
Closes gh-34160
1 year ago
Sébastien Deleuze
73b24b6f7b
Refine null-safety in the spring-orm module
...
Closes gh-34159
1 year ago
Sébastien Deleuze
abccba22f1
Refine null-safety in the spring-messaging module
...
Closes gh-34158
1 year ago
Sébastien Deleuze
4fa33dfece
Refine null-safety in the spring-aop module
...
See gh-34154
1 year ago
Sébastien Deleuze
9516d9b822
Refine null-safety in the spring-jms module
...
Closes gh-34157
1 year ago
Sébastien Deleuze
be11e73d2c
Refine null-safety in the spring-expression module
...
Closes gh-34156
1 year ago
Sébastien Deleuze
4747ab67e6
Refine null-safety in the spring-core module
...
See gh-34150
1 year ago