Sébastien Deleuze
f1c00dd8a6
Fix a typo in ResponseEntity documentation
...
Closes gh-28647
4 years ago
Sam Brannen
bdf91ac435
Set default encoding for Eclipse projects to UTF-8
...
This change aligns with Java 18 support in recent versions of Eclipse.
4 years ago
Lars Grefer
181023c0c3
Update to Bouncycastle 1.71
...
Closes gh-28636
4 years ago
Sam Brannen
fb1fa073a6
Polishing
4 years ago
Sam Brannen
e9806a96dc
Polish contribution and introduce test
...
See gh-28631
4 years ago
Johnny Lim
9b93508374
Add MockMvcRequestBuilders.multipart(HttpMethod, String, Object...)
...
See gh-28545
Closes gh-28631
4 years ago
Sam Brannen
8b4750e705
Fix Kotlin example for @ComponentScan basePackages attribute
...
Closes gh-28628
4 years ago
Spring Builds
2e033339d1
Next development version (v5.3.22-SNAPSHOT)
4 years ago
Stephane Nicoll
c75da7ba10
Upgrade to Reactor 2020.0.20
...
Closes gh-28612
4 years ago
Sam Brannen
eeac150030
Polish contribution
...
See gh-28616
4 years ago
Fabian Gonzalez
0ce9516aef
Avoid eager instantiation of non-singleton FactoryBean in getBeanNamesForType
...
Closes gh-28616
4 years ago
Sam Brannen
e47cc44947
Polish DefaultListableBeanFactoryTests
4 years ago
Juergen Hoeller
57db73dcb8
Upgrade to Tomcat 9.0.64, Jackson 2.12.7, Apache Johnzon 1.2.18, OpenPDF 1.3.28, H2 2.1.212, Mockito 4.6.1, HtmlUnit 2.62, Checkstyle 10.3
4 years ago
Juergen Hoeller
d7be1e0dab
Polishing
4 years ago
Juergen Hoeller
30c873b4b5
Move NestedServletExceptionTests to spring-web module
...
See gh-25162
4 years ago
Juergen Hoeller
e72b0a04cd
Document limitations for MessageProducer/Consumer caching with WebLogic JMS
...
Closes gh-28500
4 years ago
Juergen Hoeller
f8b41c1ad2
Consistent support for setContextClass in CGLIB beans package
...
Closes gh-28530
4 years ago
rstoyanchev
8c777111fa
Revise commit #52d068 with corrected test
...
Update test detecting RouterFunction beans in parent contexts to use
different bean names and avoid shadowing. Changed the fix accordingly
given that BeanProvider does detect beans in parent contexts.
See gh-28595
4 years ago
rstoyanchev
d28d603081
Polishing
...
See gh-28595
4 years ago
rstoyanchev
52d0681ca1
WebMvc respects RouterFunction beans ordering
...
Closes gh-28595
4 years ago
Sam Brannen
97854d9fec
Refactor ObjectToObjectConverter to use Executable instead of Member
4 years ago
Sam Brannen
73f3860bb7
Polish Javadoc for ObjectToObjectConverter
4 years ago
Sam Brannen
452f1b877c
Consider return type of static methods in ObjectToObjectConverter
...
Prior to this commit, ObjectToObjectConverter considered the return
type of non-static `to[targetType.simpleName]()` methods but did not
consider the return type of static `valueOf(sourceType)`,
`of(sourceType)`, and `from(sourceType)` methods.
This led to scenarios in which `canConvert()` returned `true`, but a
subsequent `convert()` invocation resulted in a
ConverterNotFoundException, which violates the contract of the
converter.
This commit addresses this issue by taking into account the return type
of a static valueOf/of/from factory method when determining if the
ObjectToObjectConverter supports a particular conversion. Whereas the
existing check in `determineToMethod()` ensures that the method return
type is assignable to the `targetType`, the new check in
`determineFactoryMethod()` leniently ensures that the method return
type and `targetType` are "related" (i.e., reside in the same type
hierarchy).
Closes gh-28609
4 years ago
Arjen Poutsma
c278d8c656
Do not ignore charset in Jaxb2XmlDecoder
...
This commit makes sure that the charset, if defined in the mimetype, is
used when decoding XML to JAXB2 objects.
Closes gh-28599
4 years ago
Stephane Nicoll
e3b288716d
Upgrade to Reactor 2020.0.20
...
Closes gh-28612
4 years ago
Arjen Poutsma
27738cc20f
Fix code samples for nested router functions
...
Closes gh-28603
4 years ago
Sam Brannen
babff8e635
Fix Kotlin example for dependency injection with static factory method
...
Closes gh-28589
4 years ago
Sam Brannen
290cc73d3d
Fix Kotlin example for @Required
...
Since @Required can only be declared on a method, this commit moves the
@Required declaration from the field to the "set" method.
Closes gh-28590
4 years ago
Stephane Nicoll
8a30bc2993
Upgrade Java 18 version in CI image
4 years ago
Stephane Nicoll
aa8be28a01
Upgrade Java 17 version in CI image
4 years ago
Stephane Nicoll
f43b28e7ba
Upgrade Java 11 version in CI image
4 years ago
Stephane Nicoll
1476867ee7
Upgrade Java 18 version in CI image
4 years ago
Stephane Nicoll
4d9dc61f5d
Polish
4 years ago
Stephane Nicoll
7eebc48a6e
Upgrade Ubuntu version in CI image
4 years ago
Sam Brannen
8478e8e70a
Polish contribution
...
This commit:
- fixes Checkstyle violations
- improves Javadoc
- adds missing @since tags
- renames getCurrentQueueSize() to getQueueSize()
- avoids NullPointerExceptions in getQueueSize()
- introduces tests for queue size and queue capacity
Closes gh-28583
4 years ago
Rémy
e386bdb82c
Expose ThreadPoolTaskExecutor queue size and capacity for metrics
...
We use Grafana to monitor our app via Spring's JMX exporter, and we
think it could be interesting to have at least the current queue size
for this purpose since the queue size directly affects the app memory
load. Having the queue capacity seems also interesting to set up
triggers whose values are calculated based on the maximum capacity of
the queue.
This commit introduces new getCurrentQueueSize() and getQueueCapacity()
methods in ThreadPoolTaskExecutor.
See gh-28583
4 years ago
Arjen Poutsma
4912c3c455
Updated sdkmanrc
4 years ago
rstoyanchev
8fcc7ab9d1
CompositeLog respects log level changes at runtime
...
Closes gh-28477
4 years ago
rstoyanchev
7c47b470ff
MockMvc allows HttpMethod input for multipart request
...
Closes gh-28545
4 years ago
Sam Brannen
479ef3f3fd
Update documentation regarding nested test class support
...
Closes gh-28579
4 years ago
Sam Brannen
be1b7da12f
Add entries for "Sam Brannen" to .mailmap
4 years ago
Phillip Webb
89360b18f4
Update '.mailmap` to consistently use @vmware.com emails
...
(cherry picked from commit 83063a7269 )
4 years ago
Stephane Nicoll
209fe5f452
Merge pull request #28572 from gorisanson
...
* pr/28572:
Polish contribution
Update reference docs to use PropertySourcesPlaceholderConfigurer
Closes gh-28572
4 years ago
Stephane Nicoll
e18a118f8b
Polish contribution
...
See gh-28572
4 years ago
Lee, Kyutae
77aac7768d
Update reference docs to use PropertySourcesPlaceholderConfigurer
...
See gh-28572
4 years ago
Sam Brannen
e2767371b5
Lazily initialize DataSize.PATTERN
...
To avoid unnecessary eager initialization of DataSize.PATTERN, this
commit initializes it lazily in the first invocation of DataSize.parse
by moving PATTERN to a private static nested class.
Closes gh-28560
4 years ago
Sam Brannen
aab9da0366
Polish LocaleResolver support
4 years ago
Sam Brannen
cda1e5507c
Polishing
4 years ago
Balázs Póka
1d5ffaf30a
Always construct new exception on error in DefaultWebClient
...
Always construct new exception on error, otherwise memory leak may
occur due to repeated use of singleton exception.
Closes gh-28550
4 years ago
Arjen Poutsma
c55606ed08
Recognize Kotlin coroutines in isAsyncVoidReturnType
...
This commit makes sure that Kotlin coroutines are correctly identified
by InvocableHandlerMethod::isAsyncVoidReturnType.
Closes gh-26829
4 years ago