Commit Graph

17001 Commits

Author SHA1 Message Date
Rossen Stoyanchev dc561aee02 Update advice on RestTemplate
Closes gh-24503
2020-02-12 18:13:45 +01:00
Juergen Hoeller f90acdf42f Consistent ROLE_INFRASTRUCTURE declarations for configuration classes
Closes gh-24509
2020-02-12 18:03:43 +01:00
Juergen Hoeller 844619ccf1 Use local LoggerContext in Log4jLog when static field not initialized yet
Closes gh-24440
2020-01-28 21:30:52 +01:00
Sam Brannen cf1d5216da Include Objenesis NOTICE file contents in binary distributions
Closes gh-24326
2020-01-16 10:55:10 +01:00
Spring Buildmaster 3334f2089a Next Development Version 2020-01-14 10:37:45 +00:00
Sam Brannen 1cfa95418a Document Objenesis license in license.txt
Closes gh-24340
2020-01-13 16:09:28 +01:00
Sam Brannen 573139e455 Update ASM and CBLIB versions in license.txt 2020-01-13 13:23:13 +01:00
Juergen Hoeller 7c52397220 Polishing 2020-01-10 14:30:05 +01:00
Juergen Hoeller 2c0a505213 Thread-safe compiled expression evaluation in SpelExpression
Closes gh-24265
2020-01-10 14:20:04 +01:00
Rossen Stoyanchev 0583b334b4 Escape quotes in filename
Also sync up to master and 5.1.x on refactorings in ContentDisposition
and ContentDispositionTests.

Closes gh-24230
2020-01-07 07:17:55 +00:00
Juergen Hoeller 8356762316 Polishing 2019-12-12 16:54:43 +01:00
Juergen Hoeller c526fc2a5f Polishing 2019-12-09 15:51:21 +01:00
Juergen Hoeller 14ecc0357e Polishing 2019-12-09 15:26:15 +01:00
Juergen Hoeller c9fa62751b Cleanup of "varaible" typos in ResolvableTypeTests 2019-12-09 15:25:34 +01:00
Juergen Hoeller e144b3a73c Polishing 2019-12-01 10:58:53 +01:00
Juergen Hoeller ea1992c8d1 Backport of recent ExtendedBeanInfo refinements from 5.1.x
Closes gh-24109
2019-12-01 10:58:36 +01:00
Juergen Hoeller b86b0797f5 Mark SqlRowSet accessor methods as nullable (for alignment with JDBC)
Closes gh-24042
2019-11-20 18:01:25 +01:00
Juergen Hoeller 2a63147446 Avoid substring allocation in StringUtils.replace
Closes gh-24023
2019-11-19 15:08:11 +01:00
Juergen Hoeller 41072e3451 Revise getElementTypeDescriptor javadoc (no IllegalStateException)
Closes gh-23996
2019-11-14 18:42:01 +01:00
Juergen Hoeller a20d7fa119 Polishing 2019-11-13 23:56:44 +01:00
Juergen Hoeller be0e0f6e48 Minor internal refinements (backported from master) 2019-11-13 17:45:02 +01:00
Juergen Hoeller d1a01f2675 Support for new MySQL 8 error code 3572
Closes gh-23972
2019-11-13 17:28:35 +01:00
YuDongYing 2132eec410 Fix schemaZip Gradle task on MS Windows
Prior to this commit, the schemaZip Gradle task failed to find Spring
schema files on MS Windows due to path separators hard coded to forward
slashes that are not compatible with the Windows operating system.

Consequently, a full build failed on Windows since the distZip task was
not able to locate the zipped schema archive that the schemaZip task
failed to create.

This commit fixes this by updating the schemaZip task to search for
schema files using backslashes as well as forward slashes.

Closes gh-23933
2019-11-13 15:10:10 +01:00
Juergen Hoeller 7aa73792a1 Use Method.getParameterCount() when full type array is never needed 2019-11-07 22:43:24 +01:00
Rossen Stoyanchev 9529dfbf38 Update WebMvcConfigurer#addInterceptors Javadoc
Closes gh-23926
2019-11-06 22:44:30 +00:00
Juergen Hoeller fdf936c3e2 Polishing 2019-10-30 17:16:06 +01:00
Juergen Hoeller 4e4b04aa52 Verify read-only propagation in DataSourceTransactionManagerTests
See gh-23747
2019-10-30 17:04:08 +01:00
Juergen Hoeller a2c06b7764 Upgrade to Tomcat 8.5.45, Netty 4.1.39, SLF4J 1.7.28 2019-09-25 21:55:31 +02:00
Juergen Hoeller 2102dec2f1 Polishing 2019-09-25 21:52:00 +02:00
Juergen Hoeller 64afc91708 Polishing 2019-09-25 20:49:30 +02:00
Juergen Hoeller 6f45a1ac00 Fix DefaultListableBeanFactory#copyConfigurationFrom
Closes gh-23569
2019-09-25 20:48:22 +02:00
Juergen Hoeller 17353007c9 Efficient concurrency in MethodOverrides through CopyOnWriteArraySet
Also restores immediate MethodOverrides instance in AbstractBeanDefinition, avoiding potential lazy-init race condition.

Closes gh-23448
2019-09-25 20:47:47 +02:00
Juergen Hoeller 8f90f65bb7 Consistent equality check for parent name and indexed arguments
Closes gh-23593
2019-09-25 20:47:18 +02:00
Spring Buildmaster 27a883149f Next Development Version 2019-08-02 08:33:12 +00:00
Juergen Hoeller 52357210f2 Consistent suppression of get/clearWarnings without target connection
See gh-23346
2019-08-02 01:28:00 +02:00
Juergen Hoeller 24b9bb9aee Document all remaining public methods on BeanDefinitionParserDelegate
Closes gh-23349
2019-08-01 15:39:13 +02:00
Juergen Hoeller 134272da92 TransactionAwareDataSourceProxy locally handles get/clearWarnings call
Closes gh-23346
2019-08-01 15:39:05 +02:00
Juergen Hoeller 75a80504e6 MethodParameter.equals properly checks overridden containing class
Closes gh-23352
2019-08-01 14:39:01 +02:00
Juergen Hoeller b5adf8ddc3 Consistent ordering of WebClient.Builder methods 2019-07-31 23:52:39 +02:00
Juergen Hoeller 7427884a91 Deprecate logger field in HandlerMethodArgumentResolverComposite 2019-07-31 23:26:56 +02:00
Juergen Hoeller 43eb3966c3 Upgrade to Netty 4.1.38 2019-07-31 22:59:41 +02:00
Juergen Hoeller 215caedd30 Polishing 2019-07-31 22:58:49 +02:00
Juergen Hoeller 74658789ee MethodParameter.equals checks nesting level and containing class
Closes gh-23352
2019-07-31 22:58:41 +02:00
Juergen Hoeller c4cdb98d8d Upgrade to Tomcat 8.5.43, Jetty 9.4.19, Netty 4.1.37
Includes Hibernate Validator 6.0.17 and renames "withoutJclOverSlf4j".
2019-07-20 17:34:25 +02:00
Juergen Hoeller 529125898a Polishing 2019-07-20 17:34:16 +02:00
Juergen Hoeller c573eca3d8 Fix ResolvableType raw class isAssignable checks (backport from 5.1.x)
Closes gh-23321
2019-07-20 17:07:57 +02:00
Sam Brannen ed2659cc48 Improve documentation for @Autowired constructors
Prior to this commit, there was some ambiguity surrounding semantics
for @Autowired constructors and `required = true`, especially for
multiple @Autowired constructors.

This commit improves the documentation in the Javadoc for @Autowired as
well as in the reference manual.

Closes gh-23263
2019-07-18 11:25:07 +02:00
Sam Brannen 271885cdf4 Support empty target request path in FlashMap
Prior to this commit, if the user configured an empty path for the
targetRequestPath property of a FlashMap, the FlashMapManager threw a
StringIndexOutOfBoundsException when saving the output FlashMap for the
next request.

This commit fixes this by skipping the decoding and normalization of an
empty target request path. An empty target request path is therefore
effectively treated as the root path.

Fixes gh-23240
2019-07-07 18:47:25 +02:00
Sam Brannen d893cdaabb Document that Ordered is not supported for @ControllerAdvice beans
Closes gh-23172
2019-06-21 12:48:20 +03:00
Juergen Hoeller 1d5a43f485 Polishing 2019-06-12 18:13:41 +02:00