Arjen Poutsma
4ca27db0cc
Copy cookies to ServerResponse builders
...
See gh-22351
2019-03-26 16:32:54 +01:00
Arjen Poutsma
771d436680
Merge branch '5.1.x'
2019-03-26 16:19:57 +01:00
Arjen Poutsma
c152d246a8
Copy cookies and hints to ServerResponse builders
...
Closes gh-22351
2019-03-26 16:19:13 +01:00
Juergen Hoeller
635305647c
Polishing
2019-03-26 16:13:51 +01:00
Juergen Hoeller
210b178922
Restore retrieval of plain annotations through direct presence checks
...
Includes deprecation of several AnnotationUtils methods and nullability refinements for passed-in function arguments at the MergedAnnotation API level... also, MergedAnnotation.getType() returns a Class now.
Closes gh-22663
Closes gh-22685
2019-03-26 16:13:41 +01:00
Juergen Hoeller
f7a4850675
AnnotationJmxAttributeSource uses MergedAnnotation API directly
...
Includes deprecation of AnnotationBeanUtils class (now unused).
Closes gh-22657
2019-03-26 16:13:23 +01:00
Arjen Poutsma
6324a1b3fa
Copy cookies and hints in built ServerResponse
...
Closes gh-22481
2019-03-26 15:49:12 +01:00
Arjen Poutsma
0db317575b
Copy cookies in built ServerResponse
...
Closes gh-22481
2019-03-26 15:47:58 +01:00
Arjen Poutsma
dba04a7338
Merge branch '5.1.x'
2019-03-26 15:34:48 +01:00
Arjen Poutsma
d8215e7c79
Copy cookies and hints in built ServerResponse
...
Closes gh-22481
2019-03-26 15:31:15 +01:00
Sebastien Deleuze
6bf52ff8b9
Merge branch '5.1.x'
2019-03-26 14:30:49 +01:00
Sebastien Deleuze
0ca8428603
Fix lambda nullability in JdbcOperations extensions
...
Closes gh-22682
2019-03-26 14:29:41 +01:00
Sam Brannen
2a94cb2fe9
Merge branch '5.1.x'
2019-03-26 14:06:28 +01:00
Sam Brannen
fd6b64bfac
Polishing
2019-03-26 12:48:15 +01:00
Sam Brannen
6870b9c691
Test fix in gh-22638
2019-03-26 12:48:15 +01:00
李全城
93de5f407e
Avoid duplicate registration of [RequestBody|ResponseBody]Advice @ControllerAdvice
...
Prior to this commit, if a @ControllerAdvice implemented both
RequestBodyAdvice and ResponseBodyAdvice, it was registered twice in
RequestMappingHandlerAdapter.
This commit ensures that such instances are only registered once.
Closes gh-22638
2019-03-26 12:07:19 +01:00
Phillip Webb
0ace0be29b
Fix annotation value mapping regression
...
Refine `TypeMappedAnnotation.getValueFromMetaAnnotation` to correctly
account for aliases when finding values from meta-annotations. Prior
to this commit, only convention based mappings were considered when
searching for values on meta-annotations. This meant that declared
meta-annotations that used aliases could return the "default value"
rather than the merged value.
Closes gh-22654
2019-03-25 17:19:12 -07:00
Sebastien Deleuze
88a2729fba
Introduce spring-core-coroutines module
...
This commit introduces the spring-core-coroutines module
in order to avoid referencing Kotlin code from Java one,
which is currently not supported by Eclipse.
During the build, spring-core-coroutines is merged into
spring-core, so this change is expected to have no impact
for end users.
This module contains functions accessible from Java via
the CoroutinesUtils class to adapt Coroutines and Deferred
instances to and from Mono.
See gh-19975
2019-03-25 21:57:53 +01:00
Sam Brannen
837be3eaa0
Merge branch '5.1.x'
2019-03-25 18:17:23 +01:00
Sam Brannen
f66362a01c
Update license.txt file
...
Closes gh-22659
2019-03-25 18:09:28 +01:00
Arjen Poutsma
94c14c469e
Fix checkstyle issue
2019-03-25 17:18:47 +01:00
Arjen Poutsma
1c46a9a6ff
Remove direct Reactive Streams dependencies in Servlet.fn
...
Isolated direct dependencies to Reactive Streams types.
2019-03-25 16:16:20 +01:00
Phillip Webb
cb7f997962
Defensively copy array returned from forAnnotations
...
Update the proxy used in `AnnotatedElementUtils.forAnnotations` so
that it returns a cloned array for calls to `getDeclaredAnnotations`
or `getAnnotations`. This matches the behavior of standard JDK
`AnnotatedElement` implementations.
Closes gh-22655
2019-03-25 07:53:42 -07:00
Juergen Hoeller
78fd882141
Remove superfluous empty lines after code blocks
2019-03-25 14:21:49 +01:00
Juergen Hoeller
3c02331983
Merge branch '5.1.x'
2019-03-25 13:59:24 +01:00
Juergen Hoeller
fc178ef7c2
Upgrade to Tomcat 9.0.17 and OkHttp 3.14
2019-03-25 13:54:15 +01:00
Juergen Hoeller
6f1b583130
Polishing
2019-03-25 13:54:02 +01:00
Juergen Hoeller
507d4ba825
StringUtils.parseLocale consistently handles invalid locale values
...
Closes gh-22603
2019-03-25 13:53:54 +01:00
Sebastien Deleuze
8494c7a75a
Add missing KDoc comments
2019-03-25 09:34:55 +01:00
Sebastien Deleuze
67c8d3753b
Upgrade to Dokka 0.9.18
2019-03-25 09:34:55 +01:00
www
4517f40f57
Remove redundant 'String.substring()' call
2019-03-25 09:34:29 +01:00
Stephane Nicoll
80c48648d7
Merge pull request #22649 from ttddyy
...
* pr/22649:
Fix typo on MergedAnnotations
2019-03-25 09:25:32 +01:00
Tadaya Tsuyukubo
860ec44c50
Fix typo on MergedAnnotations
...
Closes gh-22649
2019-03-25 09:25:16 +01:00
Sam Brannen
3a0f309e2c
Update readme.txt in distributed artifacts
2019-03-23 19:43:34 +01:00
Sam Brannen
d41c4522da
Remove italics from XML examples in Reference Manual
2019-03-23 19:32:01 +01:00
Sam Brannen
4f619787ad
Revert change from URL Cleanup
2019-03-23 19:20:40 +01:00
Sam Brannen
57ab877f0d
Upgrade to Gradle 5.3
...
Closes gh-22347
2019-03-23 18:04:44 +01:00
Sam Brannen
cd19170ffb
Polish BeanUtilsTests
2019-03-23 16:19:42 +01:00
Min-soo
670aa4b7ef
Use JUnit 4's expected exception support in BeanUtilsTests
...
This commit uses JUnit 4's built-in expected exception support in
BeanUtilsTests,
Closes gh-22354
2019-03-23 16:15:07 +01:00
Sam Brannen
9ac2e034e7
Polishing
2019-03-23 16:09:47 +01:00
Johnny Lim
14b1a6fdcb
Polish docs ( #22645 )
2019-03-23 15:48:47 +01:00
Sam Brannen
8d7676a5ec
Merge branch 'spring-operator-polish-urls-apache-license-5.1.x' into 5.1.x
2019-03-23 15:41:55 +01:00
Sam Brannen
68de9820dc
Upgrade to latest Checkstyle DTDs
...
See gh-22634
2019-03-23 15:40:10 +01:00
Sam Brannen
af99e868c4
Upgrade to spring-javaformat-checkstyle version 0.0.7
...
See gh-22634
2019-03-23 15:38:44 +01:00
Sam Brannen
e98fd762ba
URL Cleanup - license headers - target subpackages
...
This commit updates license headers for source files residing in
subpackages named `target`.
Closes gh-22634
2019-03-23 15:22:44 +01:00
Spring Operator
540759ec41
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 Success
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 6515 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-03-23 15:19:34 +01:00
Sam Brannen
7bb66c4f49
Replace bit.ly links with real links
2019-03-23 13:54:40 +01:00
Sam Brannen
0c8b473cac
Wikipedia -> Wiki
2019-03-23 13:44:59 +01:00
Sam Brannen
9b7215e640
URL Cleanup - update remaining license headers
...
See gh-22617 gh-22622 gh-22635
2019-03-23 13:11:10 +01:00
Sam Brannen
20764685ec
Merge URL Cleanup PRs
...
This merges the URL Cleanup PRs along with fixes.
Closes gh-22617 gh-22622 gh-22635
2019-03-23 13:01:57 +01:00