Sam Brannen
6bd4687706
Update copyright headers
...
See gh-33839
1 year ago
Tran Ngoc Nhan
07b12666b4
Fix typos in Javadoc and variable names
...
Closes gh-33839
1 year ago
Stéphane Nicoll
d43126705f
Polish "Add test coverage for DomUtils"
...
See gh-33768
1 year ago
kunaljani1100
57bbf0ca0f
Add test coverage for DomUtils
...
See gh-33768
1 year ago
Juergen Hoeller
864cb25eec
Upgrade to ASM 9.7.1
...
Closes gh-33821
1 year ago
Sébastien Deleuze
9166688b6f
Remove the pure attribute from `@Contract`
...
Closes gh-33820
1 year ago
Sébastien Deleuze
da8925131e
Polish `@Contract` Javadoc
1 year ago
Sébastien Deleuze
a005c325f7
Introduce `@CheckReturnValue` annotation
...
This commit introduces a `@CheckReturnValue` annotation,
inspired from org.jetbrains.annotations.CheckReturnValue,
that specifies that the method return value must be used.
See gh-33818
1 year ago
Sam Brannen
f427ac383d
(Re)suppress deprecation warnings
...
See gh-33780
1 year ago
Juergen Hoeller
9e3371ef07
Mark ListenableFuture as deprecated for removal
...
Closes gh-33808
1 year ago
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