Sam Brannen
3fb170058f
Polish contribution
...
See gh-32294
2 years ago
Patrick Strawderman
f9fe8efb2e
Use ConcurrentHashMap.newKeySet
...
In places where a ConcurrentHashMap was used as a set by wrapping it
with Collections.newSetFromMap, switch to just using the set returned
by ConcurrentHashMap.newKeySet directly.
Closes gh-32294
2 years ago
Juergen Hoeller
889c4e0ff5
Reject multiple primary candidates in ancestor factory as well
...
Closes gh-26612
2 years ago
Juergen Hoeller
93f0ec2fa1
Polishing
2 years ago
Juergen Hoeller
63ca8d5d17
Consider defaultCandidate flag in case of no annotations as well
...
See gh-26528
2 years ago
Juergen Hoeller
bc01e3116f
Ignore fallback bean for shortcut resolution
...
See gh-26241
See gh-28122
2 years ago
Juergen Hoeller
480051a21c
Introduce fallback flag and annotation (as companion to primary)
...
Closes gh-26241
2 years ago
Juergen Hoeller
a8fb16b47c
Introduce defaultCandidate flag (for plain type vs. qualified match)
...
Closes gh-26528
2 years ago
Juergen Hoeller
a001319f1f
Add additional shortcut for qualifier value matching target bean name
...
Closes gh-17677
See gh-28122
2 years ago
Juergen Hoeller
4a02893c31
Avoid early singleton inference outside of original creation thread
...
See gh-23501
2 years ago
Juergen Hoeller
902e5707a8
Revise singleton registry for lenient locking (fallback instead of deadlock)
...
Closes gh-23501
2 years ago
Juergen Hoeller
c6146ea2db
Introduce shortcut for declared dependency name matching target bean name
...
Closes gh-28122
2 years ago
Sam Brannen
71dfebbfe5
Polishing
2 years ago
Sam Brannen
ea4e7df9ca
Consistently declare ignoreUnresolvablePlaceholders as last argument
2 years ago
Sam Brannen
7c07c43201
Polishing
2 years ago
Stéphane Nicoll
6b8105aef2
Update copyright year of changed files
...
See gh-32281
2 years ago
Patrick Strawderman
481283d2f1
Use Spliterator of underlying collection
...
Delegate to the spliterator method of the underlying collection in
MutablePropertyValues and MutablePropertySources. In both cases, those
collection types have specialized Spliterator implementations.
Delegating to these Spliterators also means the characteristics of the
Spliterator are properly set.
See gh-32281
2 years ago
Juergen Hoeller
7e67da8a26
Support for matching partial generics
...
Closes gh-20727
2 years ago
Stéphane Nicoll
e3aa5b6b11
Use new implementation in PropertyPlaceholderHelper
...
This commit removes the previous implementation in favor of the new
PlaceholderParser. The only noticeable side effect is that the exception
is no longer an IllegalArgumentException, but rather the dedicated
PlaceholderResolutionException.
See gh-9628
2 years ago
Sébastien Deleuze
cc6dd19324
Polishing
2 years ago
Yanming Zhou
615973cce4
Fix assertion in BeanWrapperAutoGrowingTests
...
See gh-32176
2 years ago
Juergen Hoeller
00577ed80a
Polishing
2 years ago
Juergen Hoeller
9b2b485444
Disabled test for auto-growing nested map values
...
See gh-32154
2 years ago
Juergen Hoeller
af5acb6d34
Avoid pre-conversion attempt in case of overloaded write methods
...
Closes gh-32159
See gh-31872
2 years ago
Sam Brannen
db535863dd
Consistently use class literals for primitive types
...
To improve consistency and avoid confusion regarding primitive types
and their wrapper types, this commit ensures that we always use class
literals for primitive types.
For example, instead of using the `Void.TYPE` constant, we now
consistently use `void.class`.
2 years ago
Juergen Hoeller
c5a75219ce
Compare qualifier value arrays with equality semantics
...
Closes gh-32106
2 years ago
Stéphane Nicoll
f5b0d9509d
Polish
2 years ago
Stéphane Nicoll
0c42965fc3
Polish
2 years ago
Sébastien Deleuze
5c77c3739e
Find destroy methods in superclass interfaces
...
Related tests will be added in
https://github.com/spring-projects/spring-aot-smoke-tests .
Closes gh-32006
2 years ago
Stéphane Nicoll
1f2d29ee08
Polish
2 years ago
Juergen Hoeller
43107e7eb1
Propagate arguments for dynamic prototype-scoped advice
...
Closes gh-28407
2 years ago
Sam Brannen
580d9f81e2
Polishing
2 years ago
Sam Brannen
4b6126c057
Polishing
2 years ago
Sam Brannen
476ef0c3ca
Introduce basic unit test for AutowiredAnnotationBeanPostProcessor.processInjection()
2 years ago
Stefano Cordio
be9ee9112c
Upgrade to AssertJ 3.25.1, use AssertJ BOM
...
Closes gh-31945
2 years ago
Sam Brannen
ffddbb586e
Upgrade to AssertJ 3.25.0
2 years ago
Stéphane Nicoll
e22d1efdc0
Update copyright year of changed files
...
See gh-31930
2 years ago
Johnny Lim
ff8097d37c
Polish
...
See gh-31930
2 years ago
Stéphane Nicoll
7d44a4dcad
Polish
2 years ago
Juergen Hoeller
0ad3800f54
Polishing
2 years ago
Stéphane Nicoll
eefe65d95a
Upgrade copyright year of changed files
...
See gh-31916
2 years ago
Yanming Zhou
ea5ef098cf
Use Map.computeIfAbsent() where feasible
...
See gh-31916
2 years ago
Stéphane Nicoll
adcf236a3d
Polish "Use Object.equals() where feasible"
...
See gh-31916
2 years ago
Yanming Zhou
72a9864788
Use Object.equals() where feasible
...
See gh-31916
2 years ago
Yanming Zhou
db2c532c07
Use auto boxing and unboxing where feasible
...
See gh-31916
2 years ago
Yanming Zhou
4a450c6fab
Use enhanced for loop where feasible
...
See gh-31916
2 years ago
Yanming Zhou
a35384fd57
Use text block where feasible
...
See gh-31916
2 years ago
Stéphane Nicoll
7e5afc8bbb
Update copyright year of changed files
...
See gh-31913
2 years ago
Yanming Zhou
7474af4f09
Cleanup kotlin sources
...
1. remove unused import
2. remove redundant semicolon
3. remove redundant empty constructor and SAM-constructor
4. remove unnecessary type argument
5. adjust indent
See gh-31913
2 years ago
Juergen Hoeller
fc0ea465e1
Clarify expectations for getBean call with provided arguments
...
Closes gh-24955
2 years ago