Sam Brannen
f66362a01c
Update license.txt file
...
Closes gh-22659
6 years ago
Arjen Poutsma
94c14c469e
Fix checkstyle issue
6 years ago
Arjen Poutsma
1c46a9a6ff
Remove direct Reactive Streams dependencies in Servlet.fn
...
Isolated direct dependencies to Reactive Streams types.
6 years ago
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
6 years ago
Juergen Hoeller
78fd882141
Remove superfluous empty lines after code blocks
6 years ago
Juergen Hoeller
3c02331983
Merge branch '5.1.x'
6 years ago
Juergen Hoeller
fc178ef7c2
Upgrade to Tomcat 9.0.17 and OkHttp 3.14
6 years ago
Juergen Hoeller
6f1b583130
Polishing
6 years ago
Juergen Hoeller
507d4ba825
StringUtils.parseLocale consistently handles invalid locale values
...
Closes gh-22603
6 years ago
Sebastien Deleuze
8494c7a75a
Add missing KDoc comments
6 years ago
Sebastien Deleuze
67c8d3753b
Upgrade to Dokka 0.9.18
6 years ago
www
4517f40f57
Remove redundant 'String.substring()' call
6 years ago
Stephane Nicoll
80c48648d7
Merge pull request #22649 from ttddyy
...
* pr/22649:
Fix typo on MergedAnnotations
6 years ago
Tadaya Tsuyukubo
860ec44c50
Fix typo on MergedAnnotations
...
Closes gh-22649
6 years ago
Sam Brannen
3a0f309e2c
Update readme.txt in distributed artifacts
6 years ago
Sam Brannen
d41c4522da
Remove italics from XML examples in Reference Manual
6 years ago
Sam Brannen
4f619787ad
Revert change from URL Cleanup
6 years ago
Sam Brannen
57ab877f0d
Upgrade to Gradle 5.3
...
Closes gh-22347
6 years ago
Sam Brannen
cd19170ffb
Polish BeanUtilsTests
6 years ago
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
6 years ago
Sam Brannen
9ac2e034e7
Polishing
6 years ago
Johnny Lim
14b1a6fdcb
Polish docs ( #22645 )
6 years ago
Sam Brannen
8d7676a5ec
Merge branch 'spring-operator-polish-urls-apache-license-5.1.x' into 5.1.x
6 years ago
Sam Brannen
68de9820dc
Upgrade to latest Checkstyle DTDs
...
See gh-22634
6 years ago
Sam Brannen
af99e868c4
Upgrade to spring-javaformat-checkstyle version 0.0.7
...
See gh-22634
6 years ago
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
6 years ago
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).
6 years ago
Sam Brannen
7bb66c4f49
Replace bit.ly links with real links
6 years ago
Sam Brannen
0c8b473cac
Wikipedia -> Wiki
6 years ago
Sam Brannen
9b7215e640
URL Cleanup - update remaining license headers
...
See gh-22617 gh-22622 gh-22635
6 years ago
Sam Brannen
20764685ec
Merge URL Cleanup PRs
...
This merges the URL Cleanup PRs along with fixes.
Closes gh-22617 gh-22622 gh-22635
6 years ago
Sam Brannen
8a61c56154
URL Cleanup - upgrade to more modern Xalan namespace
...
See gh-22617 gh-22622 gh-22635
6 years ago
Juergen Hoeller
bddba68549
Polishing
6 years ago
Juergen Hoeller
32b46866c7
Make MultipartResolutionDelegate final (aligned with other delegates)
6 years ago
Juergen Hoeller
62e5585c2e
Avoid package cycle between beans.factory.annotation and b.f.support
...
See gh-2060
6 years ago
Juergen Hoeller
5e15338a09
Nullability refinements (no IntelliJ warnings, fewer null checks)
...
Includes consistent ignoring of all java.lang (meta-)annotations.
Closes gh-22586
6 years ago
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
6 years ago
Sam Brannen
307a74835d
URL Cleanup - remove obsolete ATOM schema location
...
See gh-22617 gh-22622 gh-22635
6 years ago
Sam Brannen
2db36c00e7
URL Cleanup - use HTTPS where possible in links in Testing Chapter
...
See gh-22617 gh-22622 gh-22635
6 years ago
Sam Brannen
6164664f65
URL Cleanup - fix XSD imports
...
See gh-22617 gh-22622 gh-22635
6 years ago
Sam Brannen
cedcd2fddd
URL Cleanup - fix links
...
See gh-22617 gh-22622 gh-22635
6 years ago
Phillip Webb
75b52309a7
Migrate CommonAnnotationBeanPostProcessor to MergedAnnotations
...
Closes gh-22585
6 years ago
Phillip Webb
50c257794f
Migrate DefaultListableBeanFactory to MergedAnnotations
...
Closes gh-22584
6 years ago
Phillip Webb
857371ba67
Migrate AutowiredAnnotationBeanPostProcessor to MergedAnnotations
...
Closes gh-22582
6 years ago
Phillip Webb
f065abac93
Migrate AnnotationAwareOrderComparator to MergedAnnotations
...
Closes gh-22581
6 years ago
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
6 years ago
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
6 years ago
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
6 years ago
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
6 years ago
Phillip Webb
e3a86be122
Make ConcurrentReferenceHashMap more JIT friendly
...
Update `ConcurrentReferenceHashMap` to make some methods more inline
friendly, and to manually inline a few others. These minor optimizations
don't make a great deal of difference for most applications, but seem
worthwhile since we use `ConcurrentReferenceHashMap` for many internal
caches.
Closes gh-22566
6 years ago