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
Sam Brannen
8a61c56154
URL Cleanup - upgrade to more modern Xalan namespace
...
See gh-22617 gh-22622 gh-22635
2019-03-23 12:21:21 +01:00
Juergen Hoeller
bddba68549
Polishing
2019-03-23 12:14:35 +01:00
Juergen Hoeller
32b46866c7
Make MultipartResolutionDelegate final (aligned with other delegates)
2019-03-23 12:14:21 +01:00
Juergen Hoeller
62e5585c2e
Avoid package cycle between beans.factory.annotation and b.f.support
...
See gh-2060
2019-03-23 12:14:03 +01:00
Juergen Hoeller
5e15338a09
Nullability refinements (no IntelliJ warnings, fewer null checks)
...
Includes consistent ignoring of all java.lang (meta-)annotations.
Closes gh-22586
2019-03-23 12:13:38 +01:00
Sam Brannen
68837ebb57
URL Cleanup - fix undesirable code change
...
Namespace handlers are mapped based on the canonical names for XML
namespaces which in Spring do not use "https" as the scheme.
See gh-22617 gh-22622 gh-22635
2019-03-23 11:56:31 +01:00
Sam Brannen
307a74835d
URL Cleanup - remove obsolete ATOM schema location
...
See gh-22617 gh-22622 gh-22635
2019-03-23 11:54:49 +01:00
Sam Brannen
2db36c00e7
URL Cleanup - use HTTPS where possible in links in Testing Chapter
...
See gh-22617 gh-22622 gh-22635
2019-03-23 11:54:11 +01:00
Sam Brannen
6164664f65
URL Cleanup - fix XSD imports
...
See gh-22617 gh-22622 gh-22635
2019-03-23 11:53:24 +01:00
Sam Brannen
cedcd2fddd
URL Cleanup - fix links
...
See gh-22617 gh-22622 gh-22635
2019-03-23 11:52:49 +01:00
Phillip Webb
75b52309a7
Migrate CommonAnnotationBeanPostProcessor to MergedAnnotations
...
Closes gh-22585
2019-03-22 20:40:05 +01:00
Phillip Webb
50c257794f
Migrate DefaultListableBeanFactory to MergedAnnotations
...
Closes gh-22584
2019-03-22 20:40:05 +01:00
Phillip Webb
857371ba67
Migrate AutowiredAnnotationBeanPostProcessor to MergedAnnotations
...
Closes gh-22582
2019-03-22 20:40:05 +01:00
Phillip Webb
f065abac93
Migrate AnnotationAwareOrderComparator to MergedAnnotations
...
Closes gh-22581
2019-03-22 20:40:05 +01:00
Phillip Webb
7244c9aea1
Add more aggressive annotation element filtering
...
Refine the element filtering performed by `AnnotationsScanner` to also
cover `org.springframework.util` and most `com.sun` classes which turn
out to be referenced quite frequently and which we know contain no
useful annotations.
See gh-21697
2019-03-22 20:40:05 +01:00
Phillip Webb
db8eaec131
Cache BridgeMethodResolver results
...
Add a cache to `BridgeMethodResolver` to help with repeated calls to
resolve the same methods. Since bridge method resolution can be somewhat
expensive (especially when resolving generics), and the number of bridge
methods is quite small, a cache generally helps.
This commit also simplifies the code a little by calling `doWithMethods`
directly rather than relying on `ReflectionUtils.getAllDeclaredMethods`
to do so. The methods list is now always created, but we save the list
creation that `getAllDeclaredMethods` used to do.
Closes gh-22579
2019-03-22 20:40:05 +01:00
Phillip Webb
a57d6ba5f3
Optimize StringUtils.cleanPath
...
Add an early exit to `StringUtils.cleanPath` to save array creating and
string concatenation. With a typical Spring application, the `cleanPath`
method can be called over 600 times, often with a path constructed by
a `ClassPathResource` that is likely to already be clean.
Closes gh-22568
2019-03-22 20:40:05 +01:00
Phillip Webb
19fb697d03
Add more empty array constants in ReflectionUtils
...
Add some additional empty array constants to `ReflectionUtils` to save
us creating new arrays for zero length results.
See gh-22567
2019-03-22 20:40:05 +01:00