Juergen Hoeller
323de1208a
Document limited support for lifecycle management
...
Closes gh-33780
1 year ago
rstoyanchev
f1cfe7a3d4
InputStreamSubscriber instantiation and Javadoc
...
See gh-31677
1 year ago
rstoyanchev
dfaf7a0c6a
Rename InputStreamSubscriber to SubscriberInputStream
...
It is both, but InputStream is what's exposed for public use,
in effect an InputStream backed by a Subscriber source.
See gh-31677
1 year ago
rstoyanchev
86a42db002
InputStreamSubscriber/Tests conform to style
...
See gh-31677
1 year ago
rstoyanchev
d4b31fd4b2
InputStreamSubscriber compiler issues
...
See gh-31677
1 year ago
rstoyanchev
a366ea0e15
Align InputStreamSubscriber copies
...
There are legitimate differences, but also some are fixes that
should be on both sides.
See gh-31677
1 year ago
OlegDokuka
37622a7f90
Support Publisher to InputStream conversion
...
See gh-31677
1 year ago
Sam Brannen
5532574f56
Remove unused casts and variables
1 year ago
Sam Brannen
e340e45f5a
Rename aopAvailable constants in TransactionSynchronizationUtils
...
Closes gh-33796
1 year ago
Juergen Hoeller
081d0b33d4
Consistently sort jar entries in doFindPathMatchingJarResources
...
Includes consistent clearCache() behavior for manifest entries.
Closes gh-33771
See gh-33705
1 year ago
Phillip Webb
1c69a3c521
Fix `PathMatchingResourcePatternResolver` manifest classpath discovery
...
Update `PathMatchingResourcePatternResolver` so that in addition to
searching the `java.class.path` system property for classpath enties,
it also searches the `MANIFEST.MF` files from within those jars.
Prior to this commit, the `addClassPathManifestEntries()` method
expected that the JVM had added `Class-Path` manifest entries to the
`java.class.path` system property, however, this did not always happen.
The updated code now performs a deep search by loading `MANIFEST.MF`
files from jars discovered from the system property. To deal with
potential performance issue, loaded results are also now cached.
The updated code has been tested with Spring Boot 3.3 jars extracted
using `java -Djarmode=tools`.
See gh-33705
1 year ago
Juergen Hoeller
e235e661d8
Polishing
1 year ago
Stéphane Nicoll
bdf76b2f8d
Restore nested property resolution for non CharSequence types
...
Closes gh-33727
Co-authored-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
1 year ago
Juergen Hoeller
fde7116ae4
Consistently skip processing of plain Java annotations
...
Closes gh-33580
1 year ago
Juergen Hoeller
11d4272ff4
Use Locale.ROOT consistently for toLower/toUpperCase
...
Closes gh-33708
1 year ago
rstoyanchev
23656aebc6
Use Locale.ROOT consistently for toLower/toUpperCase
...
See gh-33708
1 year ago
Juergen Hoeller
feb6a5f52d
Polishing
1 year ago
Tran Ngoc Nhan
e191c34078
Polishing
...
Closes gh-33681
1 year ago
KimJuHyun
5bcce17fd9
Add tests for CollectionUtils
...
- findValueOfType
- findCommonElementType
- firstElement
- lastElement
- toArray
- compositeMap
Closes gh-33694
1 year ago
Sam Brannen
59ef5e140f
Update warning for use of convention-based annotation attribute overrides
...
See gh-28761
1 year ago
Sam Brannen
ad4f0c99bf
Polish StringUtilsTests
1 year ago
zinzo
2cd1ee8a24
Add unit tests for StringUtils.hasLength()
...
Closes gh-33658
1 year ago
Sam Brannen
b0c7d15d9f
Polishing
1 year ago
Park Sung Jun
32df079b05
Polish use of constants in StringUtils
...
The hardcoded '.' and '\\' literals have been replaced by the use of
EXTENSION_SEPARATOR and WINDOWS_FOLDER_SEPARATOR_CHAR.
Closes gh-33654
1 year ago
SungbinYang
65ac17ee78
Refactor: Replace hardcoded path separator with PATH_SEPARATOR constant
...
Replaced the hardcoded '/' path separator with the `PATH_SEPARATOR` constant
to improve code readability and maintainability. This change ensures
consistency across the codebase when handling path separators.
Closes gh-33646
1 year ago
Sam Brannen
309897497a
Update copyright header
1 year ago
Hyunwoo Kim
893f5dcb9b
Replace "null" with NULL_STRING constant in ObjectUtils.nullSafeConciseToString()
...
Closes gh-33625
1 year ago
Sébastien Deleuze
56a0a33e5d
Add a missing test case for ObjectUtils#unwrapOptional
...
Closes gh-33618
1 year ago
Tran Ngoc Nhan
4d87c77649
Add test cases for ObjectUtils#unwrapOptional
...
See gh-33618
1 year ago
SungbinYang
fc8bd64f34
Simplify ObjectUtils#unwrapOptional
...
This commit replaces optional.isEmpty() and optional.get() with
optional.orElse(null) for better efficiency and readability.
Closes gh-33612
1 year ago
Yanming Zhou
8941e2876e
Replace 'e.g.' with 'for example' in documentation and comments
...
Closes gh-33515
1 year ago
Juergen Hoeller
49da92b6a3
Avoid http URL String (making checkstyleNohttp happy)
...
See gh-33561
1 year ago
Juergen Hoeller
daa109e2ec
Preserve URLStreamHandler in toRelativeURL and convertClassLoaderURL
...
Closes gh-33561
See gh-33199
1 year ago
rstoyanchev
7051cddcf7
Align OutputStreamPublisher's
...
Align internal handling and contracts. The core copy could do without
those contracts, but it helps with alignment, and it's internal to
the implementation.
Closes gh-33592
1 year ago
rstoyanchev
f6c31bb6c3
Align OutputStreamPublisher's
...
Update constructors to match and drop unnecessary factory methods.
See gh-33592
1 year ago
rstoyanchev
113b430fab
Align OutputStreamPublisher's
...
Apply recent nullability changes, and formatting differences.
See gh-33592
1 year ago
Juergen Hoeller
5f6b8d5582
Polishing
1 year ago
Simon Baslé
7df9db3bb7
Polishing test
...
Assert that BlockHound doesn't trigger, rather than assertions on a
condition that makes the test flakky because concurrency is involved.
1 year ago
Tran Ngoc Nhan
c85050eb43
Consistently use CharSequence.isEmpty() for emptiness checks
...
Closes gh-33577
1 year ago
Simon Baslé
de4ff4b44b
Polishing tests
...
This commit adds more test coverage of SpringCoreBlockHoundIntegration.
See gh-33450
1 year ago
Simon Baslé
f6e96a24d4
Add BlockHound exception for ConcurrentReferenceHashMap$ReferenceManager
...
This commit adds a SpringCoreBlockHoundIntegration configuration to
allows `pollForPurge` method to block.
Closes gh-33450
1 year ago
Juergen Hoeller
20bc5ef68b
Accept nested array type for upUntilUnresolvable check as well
...
Closes gh-33535
1 year ago
Sébastien Deleuze
52f0e8fb6d
Refine null-safety for additional Assert methods
...
Closes gh-33530
1 year ago
Juergen Hoeller
54dbb9f52a
Upgrade to Objenesis 3.4
...
Closes gh-33526
1 year ago
Patrick Strawderman
7827188e8e
Avoid empty array allocations in AnnotationTypeMapping
...
Closes gh-33507
1 year ago
Patrick Strawderman
2b6639e587
Avoid storing duplicate empty array in MethodParameter field
...
Avoid storing duplicate empty arrays in the parameterAnnotations field of MethodParameter.
Closes gh-33496
1 year ago
Patrick Strawderman
f88c314e83
Avoid empty array allocations in ResolvableType
...
Avoid allocating empty arrays in a few places in ResolvableType.
Closes gh-33473
1 year ago
Sam Brannen
717b972f88
Polish contribution
...
See gh-33452
1 year ago
Yanming Zhou
019c0b1d4e
Expand acronyms FQN and FQCN
...
Closes gh-33452
1 year ago
Johnny Lim
6e640f0800
Add Javadoc since for ReflectionHints.registerForInterfaces()
...
See gh-32824
Closed gh-33458
1 year ago