Rossen Stoyanchev
2ae91404d1
BlockHoundIntegration for spring-core
6 years ago
Sam Brannen
7778508e69
Fix typos in ResolvableTypeTests
...
See gh-24529
Co-authored-by: Qimiao Chen <chenqimiao1994@126.com>
6 years ago
Sam Brannen
d1a6e49475
Reset SecurityManager in finally-block and polish
6 years ago
Sam Brannen
809ed9d469
Rename PropertyResolverExtensionsTests to Kotlin*
6 years ago
Qimiao Chen
f78c21e40b
Fix typos in tests
...
Closes gh-24566
6 years ago
Sam Brannen
8ff1ac59e0
Polishing
6 years ago
Rossen Stoyanchev
87f866b688
Update DigestUtils Javadoc with regards to InputStream
...
Closes gh-24534
6 years ago
Sam Brannen
5d4f1d9e09
Extract ValueExtractor functional interface
...
See gh-24375
6 years ago
Sam Brannen
974cacac31
Support nested annotations in ASM-based processing again
...
Spring Framework 5.0 introduced a regression in ASM-based annotation
processing. Specifically, nested annotations were no longer supported,
and component scanning resulted in an exception if a candidate
component was annotated with an annotation that contained nested
annotations.
This commit fixes this regression by introducing special handling in
AnnotationTypeMapping that supports extracting values from objects of
type TypeMappedAnnotation when necessary.
Closes gh-24375
6 years ago
Rossen Stoyanchev
d552105516
Eliminate windowUntil from StringDecoder
...
This is a follow-up on the earlier commit
28a95e89f3 eliminating windowUntil
entirely which generates a BubblingException wrapper. This also keeps
the chain a little simpler.
See gh-24355
6 years ago
Rossen Stoyanchev
28a95e89f3
Upgrade to Dysprosium SR5 snapshots
...
See gh-24355
6 years ago
Rossen Stoyanchev
7d1d989535
Minor polishing in ConcurrentReferenceHashMap
...
Closes gh-24494
6 years ago
Rossen Stoyanchev
e4a530efac
Minor refactoring in CommonsLogWriter
...
Closes gh-24495
6 years ago
Rossen Stoyanchev
df706f4c7c
Restore use of Flux-based encode method in HTTP
...
Closes gh-24441
6 years ago
Sam Brannen
2b6117c0c2
Fix Checkstyle violation
...
See gh-24393
6 years ago
Sam Brannen
72685b1d81
Polish contribution
...
See gh-24393
6 years ago
Hyunjin Choi
d624dc084f
Add close() method in FileCopyUtils to reduce duplication
...
Closes gh-24393
6 years ago
Hyunjin Choi
550f13e8ed
Simplify GenericConversionService.getMatchableConverters()
...
Closes gh-24403
6 years ago
Rossen Stoyanchev
f5df422de9
Polishing contribution
...
See gh-24470
6 years ago
Hyunjin Choi
273812f9c5
Remove unnecessary escapes in regular expressions
...
See gh-24470
6 years ago
Sam Brannen
cf9a052e3a
Polish contribution
...
See gh-24428
6 years ago
Hyunjin Choi
1b39f138eb
Test ObjectUtils.containsElement()
...
This commit introduces a unit test for the containsElement() method
in ObjectUtils.
Closes gh-24428
6 years ago
Hyunjin Choi
14a32d13d0
Fix typo in StringUtils class
...
Closes gh-24471
6 years ago
Sam Brannen
d77a28aac3
Support optional command line arguments with empty values
...
Spring Framework provides two implementations of the
CommandLinePropertySource API: SimpleCommandLinePropertySource and
JOptCommandLinePropertySource.
Prior to this commit, JOptCommandLinePropertySource supported empty
values for optional arguments; whereas, SimpleCommandLinePropertySource
did not.
This commit modifies the implementation of SimpleCommandLinePropertySource
to allow empty values for optional arguments.
Closes gh-24464
6 years ago
Sam Brannen
daebbf1960
Polishing
6 years ago
Сергей Цыпанов
64440a5f04
Some trivial improvements to reduce allocation pressure
...
Closes gh-24447
6 years ago
Juergen Hoeller
75abd9fc7e
Upgrade to ASM 7.3
...
Closes gh-24438
6 years ago
Kalmesh Sambrani
d085577e0a
Solve ReflectPermission Issue in Sandbox Security Policy Model
6 years ago
Sam Brannen
b34404916a
Update copyright date
6 years ago
Сергей Цыпанов
3adc7c3059
Hoist concatenation of two constant Strings out of loops
...
Closes gh-24388
6 years ago
Sam Brannen
daa30a9f0b
Consistent use of AnnotationUtils.rethrowAnnotationConfigurationException()
...
Closes gh-24379
6 years ago
Sam Brannen
6c2cb8ecf5
Polish contribution
...
See gh-24351
6 years ago
hyeonisism
f1827cb1f9
Add tests for StringUtils split() method
...
Closes gh-24351
6 years ago
Sam Brannen
33ffdd865d
Update copyright date
6 years ago
Qimiao Chen
c84dd55863
Fix typo in ReflectionUtilsTests
...
Closes gh-24344
6 years ago
Rossen Stoyanchev
cbc57460b7
Support for maxInMemorySize in SSE reader
...
Closes gh-24312
6 years ago
Rossen Stoyanchev
a741ae422b
Improve limit handling in StringDecoder
...
The case of one data buffer containing multiple lines can could cause
a buffer leak due to a suspected issue in concatMapIterable. This
commit adds workarounds for that until the underlying issue is
addressed.
Closes gh-24339
6 years ago
Sam Brannen
cb8db1e6df
Polish Javadoc
6 years ago
Juergen Hoeller
4936a637fe
Polishing
6 years ago
Juergen Hoeller
c39ed52f97
Add since tag to hasMethod(Class, Method)
...
See gh-24282
6 years ago
stsypanov
8e5cad2af3
Add fast path for ClassUtils.hasMethod()
6 years ago
Rossen Stoyanchev
01827389ef
Polishing contribution
...
See gh-24292
6 years ago
Oleh Faizulin
e96b71acf3
contentLength support for Resource decoding
...
Expose the known content length, if known, in the InputStreamResource returned by ResourceHttpMessageConverter or
ResourceDecoder.
See gh-24292
6 years ago
Sam Brannen
3299793c8a
Polish [Simple]AliasRegistry[Tests]
6 years ago
Qimiao Chen
d0c2812dad
Optimize SimpleAliasRegistry hasAlias implementation
...
This commit reduces the number of loops and recursions in
the implementation of SimpleAliasRegistry#hasAlias().
Closes gh-24295
6 years ago
Sam Brannen
081b3d304d
Move JavaUtilLoggingConfigurer to spring-core test fixtures
...
See gh-23550
6 years ago
Sam Brannen
94f8ef08e2
Move common TestPrincipal to spring-core test fixtures
...
See gh-23550
6 years ago
Sam Brannen
4260c34b47
Rename test fixture package in spring-core
...
See gh-23550
6 years ago
Sam Brannen
5718bf424b
Use Gradle test fixture support for spring-core
...
See gh-23550
6 years ago
Rossen Stoyanchev
0eacb443b0
Reuse InputStream in ResourceRegionHttpMessageConverter
...
The converter now tries to keep reading from the same InputStream which
should be possible with ordered and non-overlapping regions. When
necessary the InputStream is re-opened.
Closes gh-24214
6 years ago