Juergen Hoeller
267d3a36ae
Merge branch '6.1.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/instrument/classloading/jboss/JBossLoadTimeWeaver.java
2024-10-21 18:14:50 +02:00
Juergen Hoeller
e235e661d8
Polishing
2024-10-21 18:13:42 +02:00
Stéphane Nicoll
bdf76b2f8d
Restore nested property resolution for non CharSequence types
...
Closes gh-33727
Co-authored-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2024-10-17 10:25:50 +02:00
Juergen Hoeller
fa955934e7
Merge branch '6.1.x'
...
# Conflicts:
# spring-beans/src/main/java/org/springframework/beans/factory/annotation/QualifierAnnotationAutowireCandidateResolver.java
2024-10-16 17:19:30 +02:00
Juergen Hoeller
fde7116ae4
Consistently skip processing of plain Java annotations
...
Closes gh-33580
2024-10-16 17:17:22 +02:00
Juergen Hoeller
e89218b39a
Merge branch '6.1.x'
2024-10-16 13:46:22 +02:00
Juergen Hoeller
11d4272ff4
Use Locale.ROOT consistently for toLower/toUpperCase
...
Closes gh-33708
2024-10-16 13:36:23 +02:00
rstoyanchev
bdcfbee7df
Merge branch '6.1.x'
2024-10-16 12:11:23 +01:00
rstoyanchev
23656aebc6
Use Locale.ROOT consistently for toLower/toUpperCase
...
See gh-33708
2024-10-16 12:05:54 +01:00
Juergen Hoeller
fb6a6892ef
Merge branch '6.1.x'
2024-10-16 11:36:30 +02:00
Juergen Hoeller
feb6a5f52d
Polishing
2024-10-16 11:35:23 +02:00
Tran Ngoc Nhan
e191c34078
Polishing
...
Closes gh-33681
2024-10-14 16:44:42 +02:00
KimJuHyun
5bcce17fd9
Add tests for CollectionUtils
...
- findValueOfType
- findCommonElementType
- firstElement
- lastElement
- toArray
- compositeMap
Closes gh-33694
2024-10-14 16:10:05 +02:00
Sam Brannen
59ef5e140f
Update warning for use of convention-based annotation attribute overrides
...
See gh-28761
2024-10-09 10:03:22 +02:00
Sam Brannen
ad4f0c99bf
Polish StringUtilsTests
2024-10-06 15:36:16 +02:00
zinzo
2cd1ee8a24
Add unit tests for StringUtils.hasLength()
...
Closes gh-33658
2024-10-06 15:28:41 +02:00
Sam Brannen
b0c7d15d9f
Polishing
2024-10-05 13:57:24 +02:00
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
2024-10-05 13:57:24 +02:00
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
2024-10-04 09:19:16 +02:00
Sam Brannen
309897497a
Update copyright header
2024-10-01 12:35:01 +02:00
Hyunwoo Kim
893f5dcb9b
Replace "null" with NULL_STRING constant in ObjectUtils.nullSafeConciseToString()
...
Closes gh-33625
2024-10-01 12:33:40 +02:00
Sébastien Deleuze
56a0a33e5d
Add a missing test case for ObjectUtils#unwrapOptional
...
Closes gh-33618
2024-10-01 09:42:58 +02:00
Tran Ngoc Nhan
4d87c77649
Add test cases for ObjectUtils#unwrapOptional
...
See gh-33618
2024-10-01 09:41:39 +02:00
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
2024-09-30 18:32:43 +02:00
Yanming Zhou
8941e2876e
Replace 'e.g.' with 'for example' in documentation and comments
...
Closes gh-33515
2024-09-26 14:11:17 +02:00
Juergen Hoeller
073cfd405b
Merge branch '6.1.x'
2024-09-25 14:24:35 +02:00
Juergen Hoeller
49da92b6a3
Avoid http URL String (making checkstyleNohttp happy)
...
See gh-33561
2024-09-25 13:53:34 +02:00
Juergen Hoeller
885f650911
Merge branch '6.1.x'
2024-09-25 12:46:37 +02:00
Juergen Hoeller
daa109e2ec
Preserve URLStreamHandler in toRelativeURL and convertClassLoaderURL
...
Closes gh-33561
See gh-33199
2024-09-25 12:45:34 +02:00
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
2024-09-25 11:42:26 +01:00
rstoyanchev
f6c31bb6c3
Align OutputStreamPublisher's
...
Update constructors to match and drop unnecessary factory methods.
See gh-33592
2024-09-25 11:42:26 +01:00
rstoyanchev
113b430fab
Align OutputStreamPublisher's
...
Apply recent nullability changes, and formatting differences.
See gh-33592
2024-09-25 11:42:26 +01:00
Juergen Hoeller
5f6b8d5582
Polishing
2024-09-24 18:59:17 +02:00
Simon Baslé
f7aa4409bb
Merge branch '6.1.x'
2024-09-24 11:01:57 +02:00
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.
2024-09-24 11:01:37 +02:00
Tran Ngoc Nhan
c85050eb43
Consistently use CharSequence.isEmpty() for emptiness checks
...
Closes gh-33577
2024-09-23 17:10:21 +02:00
Simon Baslé
06d240b558
Merge branch '6.1.x'
2024-09-17 16:42:09 +02:00
Simon Baslé
de4ff4b44b
Polishing tests
...
This commit adds more test coverage of SpringCoreBlockHoundIntegration.
See gh-33450
2024-09-17 16:40:40 +02:00
Simon Baslé
f6e96a24d4
Add BlockHound exception for ConcurrentReferenceHashMap$ReferenceManager
...
This commit adds a SpringCoreBlockHoundIntegration configuration to
allows `pollForPurge` method to block.
Closes gh-33450
2024-09-17 16:40:40 +02:00
Juergen Hoeller
20bc5ef68b
Accept nested array type for upUntilUnresolvable check as well
...
Closes gh-33535
2024-09-17 16:20:54 +02:00
Sébastien Deleuze
52f0e8fb6d
Refine null-safety for additional Assert methods
...
Closes gh-33530
2024-09-13 14:47:00 +02:00
Juergen Hoeller
e9f9a7ae8e
Merge branch '6.1.x'
...
# Conflicts:
# framework-platform/framework-platform.gradle
2024-09-11 17:17:38 +02:00
Juergen Hoeller
54dbb9f52a
Upgrade to Objenesis 3.4
...
Closes gh-33526
2024-09-11 17:15:37 +02:00
Patrick Strawderman
7827188e8e
Avoid empty array allocations in AnnotationTypeMapping
...
Closes gh-33507
2024-09-11 09:49:39 +02:00
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
2024-09-06 10:02:02 +02:00
Patrick Strawderman
f88c314e83
Avoid empty array allocations in ResolvableType
...
Avoid allocating empty arrays in a few places in ResolvableType.
Closes gh-33473
2024-09-04 10:40:20 +02:00
Sam Brannen
717b972f88
Polish contribution
...
See gh-33452
2024-09-03 18:08:23 +02:00
Yanming Zhou
019c0b1d4e
Expand acronyms FQN and FQCN
...
Closes gh-33452
2024-09-03 17:30:27 +02:00
Johnny Lim
6e640f0800
Add Javadoc since for ReflectionHints.registerForInterfaces()
...
See gh-32824
Closed gh-33458
2024-09-02 16:21:35 +02:00
Juergen Hoeller
69d5587f53
Merge branch '6.1.x'
...
# Conflicts:
# spring-context/src/main/java/org/springframework/scheduling/annotation/Scheduled.java
2024-08-31 12:04:29 +02:00