Juergen Hoeller
7b2eebe99f
ResolvableType-based matching consistently respects generic factory method return type (even for pre-initialized raw singleton instance)
...
Issue: SPR-17524
(cherry picked from commit ebbe14c363 )
2018-11-25 22:18:09 +01:00
Juergen Hoeller
e6c979606c
Nullability fine-tuning based on IntelliJ IDEA 2018.3 inspection
...
Issue: SPR-15540
(cherry picked from commit bf272b0b21 )
2018-11-22 17:43:13 +01:00
Juergen Hoeller
37a50d701e
SerializedBeanFactoryReference falls back to dummy with specific id
...
Issue: SPR-17508
(cherry picked from commit f5aeb81473 )
2018-11-22 17:42:06 +01:00
Juergen Hoeller
2acfb2e0ff
Polishing
2018-10-26 11:23:42 +02:00
Juergen Hoeller
5a6c081cfe
Clarify FactoryBean initialization effect in getBeanNamesForAnnotation
...
Issue: SPR-17392
(cherry picked from commit da23505e94 )
2018-10-24 21:24:42 +02:00
Juergen Hoeller
a45bce1369
Polishing
2018-10-10 00:15:58 +02:00
Juergen Hoeller
e54eb56cb9
Revised javadoc for up-to-date constructor autowiring semantics
...
Issue: SPR-17299
(cherry picked from commit 333e327289 )
2018-09-29 17:35:55 +02:00
Juergen Hoeller
f5e6c707ae
Polishing
2018-09-19 22:51:35 +02:00
Juergen Hoeller
4642c32c0f
Defensively expect concurrent registration of BeanPostProcessors
...
Declaring beanPostProcessors (and also embeddedValueResolvers) as CopyOnWriteArrayList prevents ConcurrentModificationExceptions in case of concurrent registration/access attempts.
Issue: SPR-17286
2018-09-18 21:54:33 +02:00
Juergen Hoeller
b5270a9cff
Polishing
2018-08-24 12:39:03 +02:00
Juergen Hoeller
6b3dd0779f
Consistently skip unnecessary search on superclasses and empty elements
...
Issue: SPR-16933
2018-08-15 17:56:03 +02:00
Juergen Hoeller
0e3f23eeb7
Polishing
2018-08-13 13:42:19 +02:00
Juergen Hoeller
67d0c69a95
Polishing
2018-08-11 01:30:32 +02:00
Juergen Hoeller
951b39cc7a
Polishing
2018-08-10 18:00:17 +02:00
Juergen Hoeller
1695ef7e87
Polishing
2018-08-09 18:07:03 +02:00
Kazuhiro Sera
a80f4caf37
Fix typos detected by github.com/client9/misspell
...
(cherry picked from commit be211ceead )
2018-08-09 00:49:27 +02:00
Juergen Hoeller
4042c1d578
Polishing
2018-08-07 02:12:00 +02:00
Juergen Hoeller
c814f5821a
DisposableBean javadoc refers to singletons as well as scoped beans
...
Issue: SPR-17131
(cherry picked from commit f155d21c95 )
2018-08-07 02:11:42 +02:00
Juergen Hoeller
f4c0421a7d
Polishing
...
(cherry picked from commit dc36bb34c7 )
2018-08-02 14:55:28 +02:00
Juergen Hoeller
91fa2ed0d4
Initialize pre-filled HashMaps with large enough capacity
...
Empty Maps are preferably initialized without capacity (not initializing them at all or lazily initializing with default capacity when needed).
Issue: SPR-17105
(cherry picked from commit 4a147d26fc )
2018-07-30 22:33:04 +02:00
Juergen Hoeller
006db06d11
Polishing
2018-07-27 18:48:09 +02:00
Juergen Hoeller
6839570187
Polishing
...
(cherry picked from commit 1fd6248d84 )
2018-07-27 18:20:29 +02:00
Juergen Hoeller
5da58393c1
Polishing
2018-07-26 15:55:15 +02:00
Juergen Hoeller
f677d684e7
Polishing
2018-07-24 15:00:35 +02:00
Juergen Hoeller
f5dd4d2c02
Polishing
2018-07-22 19:33:40 +02:00
Juergen Hoeller
c3f6403f61
Polishing
2018-07-20 16:45:17 +02:00
Juergen Hoeller
11fc086309
Prefer ArrayList/ArrayDeque over LinkedList for multi-element holders
...
LinkedList remains in place where a List is likely to remain empty or single-element (in order to avoid unused capacity).
Issue: SPR-17037
(cherry picked from commit 9c08a48 )
2018-07-19 00:08:13 +02:00
Juergen Hoeller
eb3254d2a9
Polishing
2018-07-06 15:18:47 +02:00
Juergen Hoeller
43868d2b72
Polishing
2018-07-06 01:39:34 +02:00
Juergen Hoeller
a8b747c21c
Polishing
2018-07-04 22:55:38 +02:00
Juergen Hoeller
490b78a3d3
Polishing
2018-07-04 20:58:27 +02:00
Juergen Hoeller
acf9ea097a
Polishing
2018-07-03 17:11:27 +02:00
Juergen Hoeller
0480e75785
Polishing
2018-07-03 16:23:43 +02:00
Juergen Hoeller
0052c899bd
Same method filtering in ConstructorResolver and getTypeForFactoryMethod
...
Issue: SPR-16999
(cherry picked from commit f2787cf )
2018-07-03 16:23:20 +02:00
Juergen Hoeller
8c07c6d099
Polishing
2018-07-01 02:35:35 +02:00
Juergen Hoeller
4be6bcae74
Polishing
2018-06-28 17:30:55 +02:00
Juergen Hoeller
a631af80c1
Polishing
...
(cherry picked from commit 40efcc9 )
2018-06-28 16:42:14 +02:00
Juergen Hoeller
a2765c009e
Polishing
2018-06-11 18:08:39 +02:00
Juergen Hoeller
455d8ac7b9
Correct code example for YamlProcessor.setDocumentMatchers
...
Issue: SPR-16849
(cherry picked from commit 7ece0e2 )
2018-06-11 14:58:42 +02:00
Juergen Hoeller
8a56db6e4e
SimpleAliasRegistry logs info message for alias overriding
...
Issue: SPR-16871
(cherry picked from commit 74fcdea )
2018-05-29 22:00:14 +02:00
Juergen Hoeller
50d6d90ed8
Restore lenient null return value for ConditionContext.getBeanFactory()
...
Includes nullable return value for getClassLoader() with corresponding notes in applicable javadoc.
Issue: SPR-16866
(cherry picked from commit 46a89d9 )
2018-05-29 22:00:05 +02:00
Juergen Hoeller
f6275e009b
YamlProcessor embraces SnakeYAML 1.18+ duplicate key handling
...
Includes deprecation of StrictMapAppenderConstructor.
Issue: SPR-16791
(cherry picked from commit 138b0d0 )
2018-05-05 13:17:10 +02:00
Juergen Hoeller
be4c07fc32
Expose FactoryBean's raw object on retrieval during post-processing
...
Issue: SPR-16783
(cherry picked from commit 9281f82 )
2018-05-02 16:32:18 +02:00
Stephane Nicoll
43f2334e82
Keep YAML entries that haven an empty array value
...
Prior to this commit, a YAML entry that define an empty array value was
lost. This commit makes sure to flag it with an empty String, which
corresponds as an empty comma separated list of entries in the
properties format.
Issue: SPR-16769
2018-04-29 11:15:53 +02:00
Dimitrios (Dimi) Liapis
2960a558d7
Fix typo
...
See gh-1803
2018-04-21 18:21:19 +02:00
Juergen Hoeller
b5922f75bb
AspectJExpressionPointcut consistently resolves superinterface methods
...
Includes efficient check for same ClassLoader in ClassUtils.isVisible, efficient MethodMatchers check for IntroductionAwareMethodMatcher, and supertype method resolution in MethodMapTransactionAttributeSource.
Issue: SPR-16723
(cherry picked from commit b95e05d )
2018-04-14 15:49:55 +02:00
Juergen Hoeller
4763154193
Consistent getTypeForFactoryMethod result for parameterized method
...
Issue: SPR-16720
(cherry picked from commit 6184c4e )
2018-04-12 21:08:14 +02:00
Juergen Hoeller
de8c4179fb
Polishing
2018-04-11 13:29:15 +02:00
Bian Jiaping
8f525f07e9
Fix typos, formatting and escaping in reference
...
Note: Some symbol combinations (including <=) serve as textual symbol
replacements in AsciiDoc.
http://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#text-replacement
2018-03-30 10:06:33 -04:00
Juergen Hoeller
d553ddc5b3
Nullability refinements (based on IntelliJ IDEA 2018.1 introspection)
...
Issue: SPR-15756
2018-03-29 23:50:17 +02:00