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
ff9c7141c5
Replace superclass exposure in case of late configuration class skipping
...
Closes gh-28676
2 years ago
Stéphane Nicoll
871f705bca
Remove ComponentScan duplicate condition
...
Closes gh-27077
2 years ago
Juergen Hoeller
22b41c33ba
Preserve existing imported class over scanned configuration class
...
Closes gh-24643
2 years ago
Juergen Hoeller
266953195c
Avoid enhancement of configuration class in case of existing instance
...
Closes gh-25738
2 years ago
Juergen Hoeller
93f0ec2fa1
Polishing
2 years ago
Juergen Hoeller
85c9279431
Consistent default error handling/logging for all scheduled tasks
...
Closes gh-32298
2 years ago
Juergen Hoeller
63ca8d5d17
Consider defaultCandidate flag in case of no annotations as well
...
See gh-26528
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
874e61a0c6
Test for async event publication before listener initialized
...
Closes gh-20904
See gh-23501
See gh-25799
2 years ago
Sam Brannen
c6e6a3e44d
Link to section in reference manual
2 years ago
Juergen Hoeller
7bb9e85723
Avoid trivial static import
2 years ago
Juergen Hoeller
3aae7a66e6
Polishing
2 years ago
Sam Brannen
71dfebbfe5
Polishing
2 years ago
Sam Brannen
7c07c43201
Polishing
2 years ago
Juergen Hoeller
6791ea94a0
Change executor phase to MAX_VALUE/2 and reduce timeout to 10 seconds
...
Closes gh-32152
2 years ago
Juergen Hoeller
7e67da8a26
Support for matching partial generics
...
Closes gh-20727
2 years ago
Yanming Zhou
e788aeb25b
Improve GenericTypeResolver to resolve type variable recursively
...
Fix GH-24963
2 years ago
Stéphane Nicoll
aef4b21f19
Polish "Add ThreadLocalAccessor for LocaleContext and RequestAttributes"
...
See gh-32243
2 years ago
Tadaya Tsuyukubo
5bd1c1fddb
Add ThreadLocalAccessor for LocaleContext and RequestAttributes
...
Add `ThreadLocalAccessor` implementations:
- `LocaleThreadLocalAccessor`
- `RequestAttributesThreadLocalAccessor`
See gh-32243
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
Juergen Hoeller
b4153618a4
Consistent Lock field declaration (instead of ReentrantLock field type)
2 years ago
Juergen Hoeller
a2000dba33
Leniently accept tasks after context close in lifecycle stop phase
...
Schedulers remain strict, just plain executors are lenient on shutdown now.
An early shutdown for executors can be enforced via setStrictEarlyShutdown.
Closes gh-32226
2 years ago
Sam Brannen
ce43d1b1da
Simplify logic in ApplicationContextAwareProcessor.postProcessBeforeInitialization()
2 years ago
Sam Brannen
1080c145e3
Polish ApplicationContextAwareProcessor
2 years ago
Juergen Hoeller
3ecbc4de13
Polishing
2 years ago
Juergen Hoeller
9698dbc232
Add javadoc and rename merge method to mergeProperties
...
See gh-32118
2 years ago
Andrei Bastun
c559ec4dfb
Refactor ReloadableResourceBundleMessageSource
...
This change allows subclasses to reuse collecting and merging
algorithm when overriding getMergedProperties method.
2 years ago
Juergen Hoeller
3d4d68c26f
Run listener/send task locally as fallback on RejectedExecutionException
...
Closes gh-32171
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
005d5ef922
Polishing
2 years ago
Juergen Hoeller
5dc26460fb
Eagerly initialize ZERO_NANOS constant
2 years ago
Juergen Hoeller
969b18b0e8
Polishing
2 years ago
Juergen Hoeller
08e6df8832
Revise shutdown phase log message and executor shutdown documentation
...
Closes gh-32109
2 years ago
Juergen Hoeller
a738e4d5fd
Explicit documentation note on cron-vs-quartz parsing convention
...
Closes gh-32128
2 years ago
Sam Brannen
2e56361fe4
Simplify implementation of internal VariableNotAvailableException
...
Since VariableNotAvailableException is not a public type, there is no
need to store the variable name in a field/property.
2 years ago
Sam Brannen
0e45f4cec4
Polishing
2 years ago
Juergen Hoeller
c6121da151
Polishing
2 years ago
Juergen Hoeller
c5a75219ce
Compare qualifier value arrays with equality semantics
...
Closes gh-32106
2 years ago
Juergen Hoeller
6bd7f0231d
Avoid double exists() call for common resource resolution
...
See gh-30369
See gh-18990
2 years ago
Sam Brannen
5856d2e54e
Polish contribution
...
See gh-32069
2 years ago
mnhock
a8fa98e2a6
Remove unnecessary semicolons in enum declarations
...
Closes gh-32069
2 years ago
Juergen Hoeller
00bda65848
Polishing
2 years ago
Stéphane Nicoll
f5b0d9509d
Polish
2 years ago
Stéphane Nicoll
0c42965fc3
Polish
2 years ago
Sam Brannen
c4831d2586
Document that Conditions can be ordered
...
Closes gh-32019
2 years ago
Sam Brannen
e4569defd9
Polish Javadoc for Condition
2 years ago