Juergen Hoeller
bcda243f63
Polishing
2018-03-29 17:34:28 +02:00
Juergen Hoeller
64f304c333
Consistent references to primitive types (in alphabetical order)
...
(cherry picked from commit 08dad4e )
2018-03-29 17:33:13 +02:00
Juergen Hoeller
5f6b04251e
Workaround for inner class constructor parameter annotation bug in javac
...
Issue: SPR-16652
(cherry picked from commit 53d0139 )
2018-03-29 17:30:07 +02:00
Juergen Hoeller
618cb6155c
Correct description for doWithLocalFields
...
Issue: SPR-16658
(cherry picked from commit 3ac46da )
2018-03-29 17:29:58 +02:00
Rossen Stoyanchev
71126faae0
MimeTypeUtils trims parameter names / values
...
Issue: SPR-16630
2018-03-27 20:04:53 -04:00
Juergen Hoeller
9cc03fa8b0
Polishing
2018-03-28 02:03:31 +02:00
Juergen Hoeller
7cafa6764c
Validate declared annotations before deciding between reflection and ASM
...
Issue: SPR-16564
2018-03-28 01:20:59 +02:00
Juergen Hoeller
8d8bb04783
ConcurrentReferenceHashMap properly handles getOrDefault for null values
...
Issue: SPR-16584
(cherry picked from commit 356ef45 )
2018-03-28 01:17:09 +02:00
Juergen Hoeller
3dff1b3f6e
SimpleAliasRegistry fully synchronizes registerAlias and removeAlias
...
Issue: SPR-16577
(cherry picked from commit 1b1a69a )
2018-03-28 01:16:35 +02:00
Rossen Stoyanchev
e02ff3a0da
MimeTypeUtils uses SecureRandom
...
The prevailing current wisdom is to use the default constructor for
secure and let it pick the best algorithm for the OS.
On Java 8 (Oracle), Linux this results in "NativePRNG" which uses
/dev/random (potentially blocking) for the initial seed, and
/dev/urandom (non-blocking) for subsequent calls to nextInt.
Issue: SPR-16635
2018-03-23 21:52:30 -04:00
Juergen Hoeller
c15f23bf0c
Reliably expose nested cause exception message for PersistenceException
...
Issue: SPR-16559
(cherry picked from commit eb9c43d )
2018-03-07 16:23:12 +01:00
Juergen Hoeller
bc043245cc
Polishing
2018-03-03 17:18:44 +01:00
Juergen Hoeller
8e68ac44d2
Polishing
2018-03-01 01:12:30 +01:00
Juergen Hoeller
901d48c803
Support for ResolvableType.getType().getTypeName() on Java 8
...
Issue: SPR-16535
(cherry picked from commit 6663d0f )
2018-02-26 17:31:12 +01:00
igor-suhorukov
39ddd0f349
Polish: String function use should be optimized for single characters
...
(cherry picked from commit 49fd724 )
2018-02-25 21:44:00 +01:00
igor-suhorukov
d5f358c33c
Polish: Array designators "[]" should be on the type, not the variable
...
(cherry picked from commit c782075 )
2018-02-25 15:03:54 +01:00
Juergen Hoeller
295df21f06
Polishing
2018-02-25 00:48:00 +01:00
Juergen Hoeller
8b5563ecab
Deprecated StringUtils.mergeStringArrays
...
(cherry picked from commit 0f74052 )
2018-02-22 15:26:06 +01:00
Juergen Hoeller
8b071633d3
Consistent use of ClassUtils.toClassArray (and related polishing)
2018-02-22 14:27:57 +01:00
Juergen Hoeller
6d11b40353
Consistent use of StringUtils.toStringArray
2018-02-16 19:48:43 +01:00
Juergen Hoeller
722cb36e01
Consistent Class array vs vararg declarations (and related polishing)
...
(cherry picked from commit 3b810f3 )
2018-02-14 16:38:28 +01:00
Juergen Hoeller
3b0eca921c
Refined exception messages
2018-02-13 14:58:34 +01:00
Juergen Hoeller
0030ff8711
Polishing
2018-02-13 14:20:07 +01:00
Juergen Hoeller
f93ca28884
Avoid unused arguments for internal delegates
...
(cherry picked from commit b449928 )
2018-02-13 14:17:59 +01:00
Juergen Hoeller
afe461609c
Polishing (selective backports from master)
2018-02-12 13:45:53 +01:00
Juergen Hoeller
5fd761ee39
MimeType.compareTo uses case-insensitive Charset (analogous to equals)
...
Issue: SPR-16458
(cherry picked from commit cfe7ff1 )
2018-02-12 13:43:14 +01:00
Juergen Hoeller
13fa69bdaf
Upgrade to ASM 6.0 level (for CGLIB 3.2.6)
...
Issue: SPR-16405
(cherry picked from commit 185c2bf )
2018-01-20 16:19:56 +01:00
Juergen Hoeller
8b5a013423
Polishing
2018-01-19 19:35:02 +01:00
Juergen Hoeller
69c882cfbc
BridgeMethodResolver properly resolves all declared interfaces
...
Issue: SPR-16288
2018-01-19 19:08:17 +01:00
Juergen Hoeller
d7959edb3e
Improve performance of some string operations
...
Issue: SPR-16293
2018-01-19 19:05:07 +01:00
Juergen Hoeller
3368dcae22
Avoid extra existence check in SimpleMetadataReaderFactory
...
Issue: SPR-16281
(cherry picked from commit 7ad69bf )
2018-01-19 18:37:00 +01:00
Juergen Hoeller
f09e252417
Polishing
2017-11-21 15:25:33 +01:00
jianglei
1b58fad228
Fix copy/paste in Javadoc
...
Closes gh-1601
2017-11-21 06:59:12 +01:00
Juergen Hoeller
1d060ecff0
Document common use cases for @Order vs @Priority vs @DependsOn
...
Issue: SPR-16213
(cherry picked from commit 84699c8 )
2017-11-20 13:33:23 +01:00
Juergen Hoeller
640c8ff693
Polishing
2017-11-14 12:31:01 +01:00
Juergen Hoeller
573ff2c58d
ClassPathResource uses specific constructors in createRelative
...
Issue: SPR-16146
(cherry picked from commit d00e4f1 )
2017-11-14 12:25:18 +01:00
Juergen Hoeller
8904de2149
Drive letter case alignment in addClassPathManifestEntries
...
Issue: SPR-16117
(cherry picked from commit a2f5e12 )
2017-10-27 11:30:43 +02:00
Juergen Hoeller
4208ec0ba8
Polishing
...
(cherry picked from commit 7e8c8f0 )
2017-10-27 11:30:34 +02:00
Juergen Hoeller
be5b9354a9
Polishing
2017-10-24 14:34:56 +02:00
Juergen Hoeller
6446ffd063
BridgeMethodResolver properly resolves interface hierarchies
...
Issue: SPR-16103
(cherry picked from commit 182da15 )
2017-10-24 14:33:19 +02:00
Juergen Hoeller
db7d71503d
Polishing
2017-10-23 19:03:56 +02:00
Juergen Hoeller
99d39eb2ee
Avoid temporary String creation in StringUtils.starts/endsWithIgnoreCase
...
Issue: SPR-16095
2017-10-23 19:03:42 +02:00
Juergen Hoeller
77bab959a3
Polishing
2017-10-16 19:59:34 +02:00
Juergen Hoeller
c2438cb932
Defensive resolution of getParameterType (actually never returning null)
...
Includes defensive access to volatile field for resolved parameter type.
Issue: SPR-16072
2017-10-16 19:59:07 +02:00
Juergen Hoeller
03be8095ca
Consistent handling of null array for arguments
...
Issue: SPR-16075
(cherry picked from commit c29b6f5 )
2017-10-16 19:58:49 +02:00
Juergen Hoeller
565b20d638
Polishing
2017-10-09 15:41:10 +02:00
Juergen Hoeller
a4803d8b0f
Convenient forType methods for ParameterizedTypeReference
...
Issue: SPR-16054
(cherry picked from commit 53091c7 )
2017-10-09 15:39:07 +02:00
Juergen Hoeller
cc70fdcbeb
Backport further refinements from the nullability efforts
...
Issue: SPR-15656
2017-09-27 15:20:17 +02:00
Juergen Hoeller
9fdc4404a5
Backport selected refinements from the nullability efforts
...
Issue: SPR-15656
2017-09-27 00:10:04 +02:00
Juergen Hoeller
a839477d4a
Explicit check for duplicates in addClassPathManifestEntries
...
Issue: SPR-15989
(cherry picked from commit 9d8e3d4 )
2017-09-27 00:08:12 +02:00