Juergen Hoeller
ae2ecf05ff
Upgrade to Tomcat 8.5.39
2019-03-26 17:41:50 +01:00
Juergen Hoeller
c192c14a9f
Polishing
2019-03-26 17:41:29 +01:00
Sam Brannen
d397d74ea5
Test fix in gh-22638
2019-03-26 14:18:22 +01:00
Sam Brannen
b36935689c
Avoid duplicate registration of [RequestBody|ResponseBody]Advice
...
Prior to this commit, if a @ControllerAdvice bean implemented both
RequestBodyAdvice and ResponseBodyAdvice, it was registered twice in
RequestMappingHandlerAdapter, leading to duplicate application of the
same logic.
This commit ensures that such instances are only registered once.
Fixes gh-22638
2019-03-26 14:15:47 +01:00
Sam Brannen
47e88aaf43
Allow ResponseBodyAdvice to implement RequestBodyAdvice
...
Prior to this commit, if a @ControllerAdvice bean implemented both
RequestBodyAdvice and ResponseBodyAdvice, it was only supported as
RequestBodyAdvice, meaning it was never invoked as ResponseBodyAdvice.
This commit revises RequestResponseBodyAdviceChain to ensure that a
single bean implementing both types of body advice is in fact handled
as both types of advice.
See gh-22638
2019-03-26 14:12:04 +01:00
Sam Brannen
afe037e3f2
Update license.txt file
...
Closes gh-22659
2019-03-25 18:12:03 +01:00
Sam Brannen
41e9fcc118
Merge branch 'spring-operator-polish-urls-apache-license-4.3.x' into 4.3.x
2019-03-23 15:06:22 +01:00
Sam Brannen
3697b18766
URL Cleanup - license headers - target subpackages
...
This commit updates license headers for source files residing in
subpackages named `target`.
Closes gh-22632
2019-03-23 15:05:49 +01:00
Spring Operator
6c4f510496
URL Cleanup - license headers
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 5990 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
See gh-22632
2019-03-23 15:04:55 +01:00
Sebastien Deleuze
04223058f1
Fix Jackson builder modulesToInstall override behavior
...
This commit updates Jackson2ObjectMapperBuilder in order
to ensure that modules specified via modulesToInstall
eventually override the default ones.
Closes gh-22624
2019-03-21 11:23:09 +01:00
Rossen Stoyanchev
7e61826333
Fix @since typo
2019-03-19 14:39:25 -04:00
Rossen Stoyanchev
dba9c90280
Ordered WebMvcConfigurer interceptor registrations
...
Closes gh-22434
2019-03-19 14:17:02 -04:00
Rossen Stoyanchev
58b17bff22
Remove framgent in ResourceUrlEncodingFilter
...
Closes gh-22552
2019-03-19 12:06:45 -04:00
Juergen Hoeller
86bf699121
Upgrade to Netty 4.1.34
2019-03-13 16:06:53 +01:00
Juergen Hoeller
2afaaf270d
Polishing
2019-03-13 16:06:40 +01:00
Sam Brannen
d9bc3b7e38
Merge branch 'spring-operator-polish-urls-build-4.3.x' into 4.3.x
2019-03-12 16:40:03 +01:00
Sam Brannen
0adabdbae0
Manual URL Cleanup
...
Closes gh-22520
2019-03-12 16:39:20 +01:00
Spring Operator
88390941d7
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* http://quartz-scheduler.org/api/2.2.1/ (301) migrated to:
https://www.quartz-scheduler.org/api/2.2.1/ ([https](https://quartz-scheduler.org/api/2.2.1/ ) result 404).
## Fixed Success
These URLs were fixed successfully.
* http://commons.apache.org/proper/commons-codec/apidocs/ migrated to:
https://commons.apache.org/proper/commons-codec/apidocs/ ([https](https://commons.apache.org/proper/commons-codec/apidocs/ ) result 200).
* http://commons.apache.org/proper/commons-dbcp/apidocs/ migrated to:
https://commons.apache.org/proper/commons-dbcp/apidocs/ ([https](https://commons.apache.org/proper/commons-dbcp/apidocs/ ) result 200).
* http://commons.apache.org/proper/commons-lang/javadocs/api-2.5/ migrated to:
https://commons.apache.org/proper/commons-lang/javadocs/api-2.5/ ([https](https://commons.apache.org/proper/commons-lang/javadocs/api-2.5/ ) result 200).
* http://dist.springsource.com/snapshot/STS/nightly-distributions.html migrated to:
https://dist.springsource.com/snapshot/STS/nightly-distributions.html ([https](https://dist.springsource.com/snapshot/STS/nightly-distributions.html ) result 200).
* http://docs.jboss.org/jbossas/javadoc/4.0.5/connector/ migrated to:
https://docs.jboss.org/jbossas/javadoc/4.0.5/connector/ ([https](https://docs.jboss.org/jbossas/javadoc/4.0.5/connector/ ) result 200).
* http://docs.jboss.org/jbossas/javadoc/7.1.2.Final/ migrated to:
https://docs.jboss.org/jbossas/javadoc/7.1.2.Final/ ([https](https://docs.jboss.org/jbossas/javadoc/7.1.2.Final/ ) result 200).
* http://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/ migrated to:
https://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/ ([https](https://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/ ) result 200).
* http://docs.oracle.com/javaee/7/api/ migrated to:
https://docs.oracle.com/javaee/7/api/ ([https](https://docs.oracle.com/javaee/7/api/ ) result 200).
* http://docs.oracle.com/javase/8/docs/api/ migrated to:
https://docs.oracle.com/javase/8/docs/api/ ([https](https://docs.oracle.com/javase/8/docs/api/ ) result 200).
* http://fasterxml.github.io/jackson-core/javadoc/2.8/ migrated to:
https://fasterxml.github.io/jackson-core/javadoc/2.8/ ([https](https://fasterxml.github.io/jackson-core/javadoc/2.8/ ) result 200).
* http://fasterxml.github.io/jackson-databind/javadoc/2.8/ migrated to:
https://fasterxml.github.io/jackson-databind/javadoc/2.8/ ([https](https://fasterxml.github.io/jackson-databind/javadoc/2.8/ ) result 200).
* http://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.8/ migrated to:
https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.8/ ([https](https://fasterxml.github.io/jackson-dataformat-xml/javadoc/2.8/ ) result 200).
* http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/ migrated to:
https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/ ([https](https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/ ) result 200).
* http://issues.gradle.org/browse/GRADLE-1116 migrated to:
https://issues.gradle.org/browse/GRADLE-1116 ([https](https://issues.gradle.org/browse/GRADLE-1116 ) result 200).
* http://portals.apache.org/pluto/portlet-2.0-apidocs/ migrated to:
https://portals.apache.org/pluto/portlet-2.0-apidocs/ ([https](https://portals.apache.org/pluto/portlet-2.0-apidocs/ ) result 200).
* http://tiles.apache.org/framework/apidocs/ migrated to:
https://tiles.apache.org/framework/apidocs/ ([https](https://tiles.apache.org/framework/apidocs/ ) result 200).
* http://tiles.apache.org/tiles-request/apidocs/ migrated to:
https://tiles.apache.org/tiles-request/apidocs/ ([https](https://tiles.apache.org/tiles-request/apidocs/ ) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
* http://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/ migrated to:
https://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/ ([https](https://www.eclipse.org/aspectj/doc/released/aspectj5rt-api/ ) result 200).
* http://ehcache.org/apidocs/ (301) migrated to:
https://www.ehcache.org/apidocs/ ([https](https://ehcache.org/apidocs/ ) result 200).
* http://static.springframework.org/spring-framework/docs (301) migrated to:
https://docs.spring.io/spring-framework/docs ([https](https://static.springframework.org/spring-framework/docs ) result 301).
* http://download.eclipse.org/eclipse/downloads migrated to:
https://download.eclipse.org/eclipse/downloads ([https](https://download.eclipse.org/eclipse/downloads ) result 301).
* http://glassfish.java.net/nonav/docs/v3/api/ migrated to:
https://glassfish.java.net/nonav/docs/v3/api/ ([https](https://glassfish.java.net/nonav/docs/v3/api/ ) result 301).
* http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.javadoc.doc/web/apidocs/ migrated to:
https://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.javadoc.doc/web/apidocs/ ([https](https://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.javadoc.doc/web/apidocs/ ) result 301).
* http://projects.spring.io/spring-framework migrated to:
https://projects.spring.io/spring-framework ([https](https://projects.spring.io/spring-framework ) result 301).
* http://springframework.org/schema migrated to:
https://springframework.org/schema ([https](https://springframework.org/schema ) result 301).
* http://spring.io/tools/sts/all migrated to:
https://spring.io/tools/sts/all ([https](https://spring.io/tools/sts/all ) result 302).
2019-03-12 16:39:20 +01:00
Juergen Hoeller
6030014803
CollectionUtils.toIterator tolerates null Enumeration as input
...
See gh-22547
2019-03-08 23:04:42 +01:00
Juergen Hoeller
a94c12ff9a
Polishing
2019-03-07 18:43:02 +01:00
Juergen Hoeller
2b5434e46c
Consistent local vs external resolution of https schema references
...
Closes gh-22504
2019-03-06 17:06:30 +01:00
Juergen Hoeller
cebd899988
Fixed misformatted chapter id
2019-03-05 13:38:26 +01:00
Juergen Hoeller
bc283ed7d7
Polishing
2019-02-28 15:59:47 +01:00
Juergen Hoeller
f31f65408c
Polishing
2019-02-28 14:54:23 +01:00
Juergen Hoeller
514c0b5c67
JdbcTemplate preserves order of stored procedure output parameters
...
Closes gh-22491
2019-02-28 14:53:57 +01:00
Juergen Hoeller
130f41028f
Polishing
2019-02-27 18:12:05 +01:00
Juergen Hoeller
5c20c976df
Polishing
2019-02-26 18:16:12 +01:00
Juergen Hoeller
82f1340c47
Polishing
2019-02-25 19:20:28 +01:00
Juergen Hoeller
a3fb52e402
Only use payload if it actually matches declared event type
...
Closes gh-22426
2019-02-25 19:19:24 +01:00
Juergen Hoeller
3ec8080f36
Polishing
2019-02-15 17:59:38 +01:00
Juergen Hoeller
581b567864
Clarify role of 'aware' callback interfaces
2019-02-15 17:55:45 +01:00
Juergen Hoeller
109eaf3a16
DefaultConversionService properly converts Object[] to int[]
...
Closes gh-22410
2019-02-14 15:10:18 +01:00
Gemini Kim
3e1b3c32e3
Avoid duplicate Accept header values in RestTemplate
...
Prior to this commit, the various `HttpMessageConverter` instances
configured for a given `RestTemplate` instance could all contribute
`MediaType` values to the "Accept:" request header.
This could lead to duplicate media types in that request header,
cluttering for the HTTP request for no reason.
This commit ensures that only distinct values are added to the request.
Issue: SPR-16690
Closes gh-22320
Closes gh-21231
2019-02-11 13:00:44 +01:00
Juergen Hoeller
9865b0c080
Upgrade to Tomcat 8.5.38
2019-02-11 12:11:32 +01:00
Juergen Hoeller
95c99d63b6
Upgrade to Netty 4.1.33
2019-02-07 23:57:24 +01:00
Juergen Hoeller
f3326291b1
Polishing
2019-02-07 23:57:14 +01:00
Juergen Hoeller
af920544b4
AbstractAutoProxyCreator ignores unused early proxy references
...
Closes gh-22370
2019-02-07 23:48:55 +01:00
Juergen Hoeller
8c5cb77737
ApplicationListenerMethodAdapter uses target method for order lookup
...
Closes gh-22307
2019-02-07 23:48:31 +01:00
Juergen Hoeller
9a30748822
Avoid duplicate class introspection during findAnnotationOnBean
...
Closes gh-22318
2019-02-07 23:48:08 +01:00
Rossen Stoyanchev
596992ce3c
Fix Javadoc typos
...
Closes gh-22261
2019-02-07 23:47:53 +01:00
Sebastien Deleuze
b2ce55003a
Fix truncated Value#value javadoc
...
Closes gh-22331
2019-02-06 19:31:09 +01:00
Spring Buildmaster
d091b50720
Next Development Version
2019-01-09 09:00:51 +00:00
Juergen Hoeller
a8f540ae8c
Restored original log4j.properties file reference in 4.3.x branch
2019-01-08 21:18:09 +01:00
Juergen Hoeller
9767165c8d
Upgrade to Tomcat 8.5.37
2019-01-08 20:58:23 +01:00
Juergen Hoeller
7be0aa0de5
Polishing
2019-01-08 20:58:10 +01:00
Juergen Hoeller
e714fc533a
DefaultListableBeanFactory checks for pre-converted Optional wrappers
...
Issue: SPR-17607
2019-01-08 20:55:55 +01:00
Juergen Hoeller
c02446c5a8
Relaxed position assertion (for overflows in large inline maps)
...
Issue: SPR-17605
(cherry picked from commit b2756f5bd2 )
2019-01-08 20:55:23 +01:00
Juergen Hoeller
21baa7287b
Consistent support for EnumSet subclasses in CollectionFactory
...
Issue: SPR-17619
(cherry picked from commit 31a24720a6 )
2019-01-08 20:55:10 +01:00
Sam Brannen
3c7887c2ae
Provide external links to JUnit in published Javadoc API
2019-01-08 16:24:17 +01:00
Michel Schudel
21d3bf8db4
Fix XML parser default value handling
...
The xml parser does not fill in defaults provided in the XSD when
validation is disabled. As a result, attributes like default-lazy-init
will not receive the value "default" but an empty string.
With this commit, BeanDefinitionParserDelegate now takes this into
account, checking default values against empty string as well as
"default".
As a consequence, default-lazy-init attribute should now work correctly
even when the XSD validation is disabled.
Issue: SPR-8335
2019-01-08 15:07:41 +01:00