Juergen Hoeller
80a20488fd
Make File/Path tests pass on Windows
...
See gh-30806
3 years ago
Sam Brannen
3ef1b7d83c
Extend supported types in ObjectUtils.nullSafeConciseToString()
...
This commit extends the list of explicitly supported types in
ObjectUtils.nullSafeConciseToString() with the following.
- Optional
- File
- Path
- InetAddress
- Charset
- Currency
- TimeZone
- ZoneId
- Pattern
Closes gh-30805
3 years ago
Sam Brannen
08bce69d3d
Add tests for status quo in ObjectUtils.nullSafeConciseToString()
3 years ago
Yanming Zhou
56b60120fe
Stop using deprecated AbstractArchiveTask.archivePath in Gradle build
...
This commit addresses the following warning in the build.
The AbstractArchiveTask.archivePath property has been deprecated. This
is scheduled to be removed in Gradle 9.0. Please use the archiveFile
property instead. See
https://docs.gradle.org/8.1.1/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:archivePath
for more details.
Closes gh-30697
3 years ago
Sam Brannen
c95426a616
Polishing
3 years ago
Juergen Hoeller
0c39fff831
Polishing
3 years ago
Juergen Hoeller
3cb746c358
Consistently handle invocation exceptions in TypeProxyInvocationHandler
...
Closes gh-30764
3 years ago
Juergen Hoeller
9266e6d29e
Remove outdated javadoc notes on getMessage and printStackTrace
...
Closes gh-30748
3 years ago
Sam Brannen
f86a69ebfb
Update copyright headers and polish
3 years ago
Sébastien Deleuze
d3a249e34d
Reduce the delay used for Coroutines in tests
...
Closes gh-30731
3 years ago
Sébastien Deleuze
23ecb50137
Optimize KotlinReflectionParameterNameDiscoverer
...
This commit removes the intermediate list allocation.
Closes gh-30725
3 years ago
Juergen Hoeller
6b1fbc9fe1
Revise ResolvableType equality
...
ResolvableTypes are only considered equal if of the very same class now.
As a consequence, a forRawClass result is not equal to forClass anymore.
The new equalsType method is available for plain type equality checks.
Closes gh-28608
Closes gh-27748
2 years ago
Juergen Hoeller
464b676ec5
Expose shutdown state in TaskRejectedException message
...
See gh-27090
2 years ago
Juergen Hoeller
0c8d3e70cf
Prefer ArrayList for Collection when source is an array
...
Closes gh-28048
3 years ago
Sam Brannen
d0a2820af4
Polish AnnotatedMethod
3 years ago
Juergen Hoeller
6fa09e1783
Extract AnnotatedMethod base class for consistent annotation exposure
...
As a consequence, the spring-messaging HandlerMethod detects interface parameter annotations as well, and the same is available for other HandlerMethod variants.
Closes gh-30801
3 years ago
Sam Brannen
9ac2443b78
Polish ModuleResource[Tests]
3 years ago
Sébastien Deleuze
f075120675
Support WildcardType resolution in GenericTypeResolver
...
This commit adds support for WildcardType bounds resolution,
commonly seen in Kotlin due to declaration-site variance,
but also possible in Java even if less common.
Closes gh-22313
3 years ago
Juergen Hoeller
31a51cca4f
Support for getFilename() in ModuleResource
...
See gh-28507
3 years ago
Juergen Hoeller
654dee8cd6
Additional notes on module access via ClassPathResource
...
See gh-28507
3 years ago
Juergen Hoeller
e4751513a4
Additional notes on module access via ClassPathResource
...
See gh-28507
3 years ago
Juergen Hoeller
6061fdf231
Introduce ModuleResource for resources loaded from a given Module
...
Closes gh-28507
3 years ago
Sébastien Deleuze
f06cf21341
Support Kotlin parameter default values in handler methods
...
This commit adds support for Kotlin parameter default values
in handler methods. It allows to write:
@RequestParam value: String = "default"
as an alternative to:
@RequestParam(defaultValue = "default") value: String
Both Spring MVC and WebFlux are supported, including on
suspending functions.
Closes gh-21139
3 years ago
Johnny Lim
3be1216897
Polish
...
This commit polishes a bit.
Closes gh-30691
3 years ago
Johnny Lim
271f2dc665
Polish
...
This commit polishes a bit.
Closes gh-30691
3 years ago
Juergen Hoeller
1dfe737d0e
Avoid ResolvableType creation for interface/superclass check
...
See gh-30713
3 years ago
Juergen Hoeller
93218a06ba
Cache hasUnresolvableGenerics result for repeated checks
...
Closes gh-30713
3 years ago
Sam Brannen
4565bcd757
Update copyright headers
3 years ago
Juergen Hoeller
b9221656cc
Declare ClassLoader for DeserializingConverter constructor as nullable
...
Closes gh-30670
3 years ago
Juergen Hoeller
e344f3f869
Consistent treatment of new Spring system properties
...
See gh-30606
See gh-30571
3 years ago
Sébastien Deleuze
517a073f33
Use spring.native.precompute.log system property
...
This commit changes the Java system property used to
control PreComputeFieldFeature verbose logging from
spring.aot.precompute to spring.native.precompute.log
in order to clarify its purpose and avoid confusion
with AOT processing of JVM bytecode or Java sources.
See gh-30571
3 years ago
Juergen Hoeller
3171a8b0e2
Align with 5.3.28 javadoc for isSimpleValueType
...
See gh-30661
3 years ago
Juergen Hoeller
3de4e931c7
Javadoc notes on isSimpleValueType in BeanUtils vs ClassUtils
...
See gh-30664
3 years ago
Juergen Hoeller
ca4de8f191
Consistent simple value type check
...
Includes UUID treatment for data binding and bean dependency checks.
Closes gh-30664
3 years ago
Juergen Hoeller
927d27b121
Consider UUID as simple value type with concise toString output
...
Closes gh-30661
3 years ago
Sébastien Deleuze
9536dd14ef
Polish PreComputeFieldFeature
3 years ago
Sébastien Deleuze
c565df96f5
Remove System.out calls in PreComputeFieldFeature
...
Closes gh-30571
3 years ago
Sébastien Deleuze
9b4e0e9837
Add missing hint for converting String to URI
...
Closes gh-30627
3 years ago
Sébastien Deleuze
2f78b42133
Refine Kotlin ParameterNameDiscoverer tests
...
Related to gh-30052, we should improve ParameterNameDiscoverer
Kotlin tests to make sure DefaultParameterNameDiscoverer behaves
as expected and is consistent with
KotlinReflectionParameterNameDiscoverer behavior.
Closes gh-30618
3 years ago
Sam Brannen
94214562d0
Polish contribution
...
See gh-30283
3 years ago
SW
be94e1a2fb
Replace switch statements with enhanced switch statements for consistency
...
Closes gh-30283
3 years ago
Sam Brannen
f2ae106c32
Update deprecation Javadoc regarding "for removal in 6.2"
...
See gh-30608
3 years ago
Juergen Hoeller
cdc4497664
Restore creation of plain HashSet/HashMap for direct HashSet/HashMap type
...
Closes gh-30596
3 years ago
Juergen Hoeller
22ef48bec2
Shorten constant names to BUILD and RUN (for consistent spelling)
...
See gh-30511
3 years ago
Sam Brannen
24fa8793b1
Update copyright headers
3 years ago
Juergen Hoeller
4b8adf2dcc
Polishing
3 years ago
Juergen Hoeller
8c6287ef7b
Expose parameter/field name for non-JavaBeans type conversion
...
Supports name-bound PropertyEditor registrations on data classes.
Includes consistent support for field-aware method parameters.
Closes gh-28284
3 years ago
Sam Brannen
e8ab53e76d
Polishing
3 years ago
Stephane Nicoll
09b2e5d0fb
Update copyright year of changed file
...
See gh-30554
3 years ago
Stefano Cordio
c6b2d2e1d9
Fix `FileSystemUtils::deleteRecursively` Javadoc
...
See gh-30554
3 years ago