Juergen Hoeller
912c270f2b
Polishing
8 years ago
Juergen Hoeller
129c05bcff
Comprehensively cache annotated methods for interfaces and superclasses
...
Issue: SPR-16675
8 years ago
Juergen Hoeller
4da27c2a73
Avoid unnecessary introspection on methods and meta-annotations
...
Issue: SPR-16667
8 years ago
Kazuki MATSUDA
d232fffa63
Use whenComplete since (null) return value not needed
8 years ago
Juergen Hoeller
22a8a668c9
AnnotationTypeFilter assumes no custom annotations on common Java types
...
Issue: SPR-16667
8 years ago
Juergen Hoeller
7a8d41e5d6
Extended set of common classes and language interfaces in ClassUtils
...
Issue: SPR-16667
8 years ago
Sam Brannen
a6c45f0cd9
Polishing
8 years ago
Juergen Hoeller
d553ddc5b3
Nullability refinements (based on IntelliJ IDEA 2018.1 introspection)
...
Issue: SPR-15756
8 years ago
Sam Brannen
17703e5dde
Polishing
8 years ago
Sam Brannen
7c28152c13
Introduce ClassUtils.isInnerClass() utility method
8 years ago
Juergen Hoeller
b165475eb6
Polishing
8 years ago
Juergen Hoeller
08dad4e3ac
Consistent references to primitive types (in alphabetical order)
8 years ago
Juergen Hoeller
53d01392d7
Workaround for inner class constructor parameter annotation bug in javac
...
Issue: SPR-16652
8 years ago
Juergen Hoeller
3ac46da22f
Correct description for doWithLocalFields
...
Issue: SPR-16658
8 years ago
Sam Brannen
4b9e3a9211
Introduce failing test for SPR-16652
...
This commit introduces tests for looking up annotations on parameters
in constructors for nested and inner classes via Spring's
MethodParameter abstraction.
The test for an inner class is currently disabled since it fails on
JDK 8. See JIRA issue for details.
Issue: SPR-16652
8 years ago
Juergen Hoeller
b2d87abcbb
Polishing
8 years ago
Rossen Stoyanchev
e00384a6fd
MimeTypeUtils trims parameter names / values
...
Issue: SPR-16630
8 years ago
Juergen Hoeller
e3d0ef6015
Use Map.forEach instead of manual Map.Entry iteration wherever possible
...
Issue: SPR-16646
8 years ago
Rossen Stoyanchev
ab2410c754
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
8 years ago
Juergen Hoeller
f00afe3247
Use (Concurrent)Map.computeIfAbsent for lazy nested collection creation
8 years ago
Rossen Stoyanchev
94c525cdc8
Polish @RequestPart support
8 years ago
Rossen Stoyanchev
2ff35daf9b
Add test case based on SPR-16615
8 years ago
Rossen Stoyanchev
30583a62cf
Fix Class isAssignableFrom checks for Resource conversion
...
Issue: SPR-16606
8 years ago
Juergen Hoeller
356ef45e99
ConcurrentReferenceHashMap properly handles getOrDefault for null values
...
Issue: SPR-16584
8 years ago
Juergen Hoeller
967a2ef2d2
Validate Class attributes as well as Class array attributes
...
Issue: SPR-16564
8 years ago
Juergen Hoeller
50e980c02f
Validate declared annotations before deciding between reflection and ASM
...
Issue: SPR-16564
8 years ago
Juergen Hoeller
1b1a69a144
SimpleAliasRegistry fully synchronizes registerAlias and removeAlias
...
Issue: SPR-16577
8 years ago
Sam Brannen
42b4f6e1ff
Clean up warnings and dead code in spring-core module
8 years ago
igor-suhorukov
0c45c4c6a3
lamdbas containing only one statement should not nest this statement in a block
8 years ago
Juergen Hoeller
139dc1d373
Polishing (collapsed if checks, consistent downcasts, refined javadoc)
8 years ago
igor-suhorukov
0f7485b01d
Polish: reorder the modifiers to comply with the Java Language Specification.
8 years ago
Rossen Stoyanchev
27815847b1
content-length support in EncoderHttpMessageWriter
...
EncoderHttpMessageWriter checks explicitly for Mono publishers and sets
the content length, if it is known for the given data item.
Issue: SPR-16542
8 years ago
Juergen Hoeller
eb9c43dcbc
Reliably expose nested cause exception message for PersistenceException
...
Issue: SPR-16559
8 years ago
Juergen Hoeller
c543368aad
Polishing
8 years ago
Juergen Hoeller
cd4f0935c5
Revised deprecation markers
8 years ago
igor-suhorukov
8080f56db8
Polish: "@Override" should be used on overriding and implementing methods
8 years ago
Juergen Hoeller
6663d0ff07
Support for ResolvableType.getType().getTypeName() on Java 8
...
Issue: SPR-16535
8 years ago
igor-suhorukov
49fd724d8f
Polish: String function use should be optimized for single characters
8 years ago
igor-suhorukov
c782075a13
Polish: Array designators "[]" should be on the type, not the variable
8 years ago
Juergen Hoeller
3531c104b0
Prefer Collections.addAll call with array over Set.addAll(Arrays.asList)
8 years ago
igor-suhorukov
67a91cf6f9
Polish: redundant pairs of parentheses should be removed
8 years ago
Juergen Hoeller
0f740527c1
Deprecated StringUtils.mergeStringArrays
8 years ago
Juergen Hoeller
a5cbf5fe24
Consistent use of Collection.toArray with zero-sized array argument
...
Includes consistent use of ClassUtils.toClassArray (as non-null variant)
Issue: SPR-16523
8 years ago
Juergen Hoeller
f316f6a46a
Remove unnecessary assertions from annotation resolution code paths
...
Issue: SPR-16514
8 years ago
Juergen Hoeller
d7cab23e6d
Consistent use of StringUtils.toStringArray
...
(cherry picked from commit 6d11b40 )
8 years ago
Juergen Hoeller
8d3264f680
Prefer List.sort(Comparator) over Collections.sort(List, Comparator)
8 years ago
Juergen Hoeller
3b810f3544
Consistent Class array vs vararg declarations (and related polishing)
8 years ago
Juergen Hoeller
99662bc702
Polishing
8 years ago
igor-suhorukov
45e520ed86
Polish: remove unused private fields, remove empty operator
8 years ago
Juergen Hoeller
0c78c9c6f7
Refined javadoc and exception messages
8 years ago