Sam Brannen
c03162e616
Polishing
...
See gh-26862
2021-04-28 15:43:52 +02:00
Sam Brannen
1dde30a7fd
Fix grammar in ref docs
2021-04-28 15:39:21 +02:00
Sviatoslav Hryb
35196d3c62
Fix aspect autodetection description
...
Closes gh-26862
2021-04-28 15:37:59 +02:00
Sébastien Deleuze
d7f67b3dc3
Fix a typo in PropertyResolverExtensions documentation
2021-04-28 12:17:27 +02:00
Sviatoslav Hryb
719e7394d6
Fix MessageSource doc description
2021-04-28 11:04:01 +01:00
Stephane Nicoll
e4a5d2aaa5
Fix reference to assets on the default branch in ref doc
...
See gh-26863
2021-04-27 07:18:23 +02:00
Stephane Nicoll
ab64607420
Update CI to use main as default branch name
...
Closes gh-26863
2021-04-27 07:09:41 +02:00
Rossen Stoyanchev
b595dc1dfa
Add advice on Spring MVC path matching for 5.3+
...
Closes gh-26750
2021-04-26 17:17:14 +01:00
Rossen Stoyanchev
86123de883
HandlerMappingIntrospector handles attribute changes properly
...
Closes gh-26833
2021-04-26 17:16:33 +01:00
Sam Brannen
7c3a18490b
Polish SpEL SelectionAndProjectionTests
2021-04-26 16:23:21 +02:00
Sam Brannen
01e50fb60a
Polish SpEL chapter
2021-04-22 18:55:40 +02:00
Sam Brannen
6c3a0a9026
Polishing
2021-04-22 18:53:31 +02:00
Sviatoslav Hryb
3bded7659a
Improve documentation for SpEL constructor support
...
Closes gh-26846
2021-04-22 18:33:37 +02:00
Arjen Poutsma
7f1062159e
Copy HttpStatus::values to prevent allocation
...
Before this commit, HttpStatus::resolve used the values() method in its
logic. This causes a new array to be allocated for each invocation,
and results in memory overhead.
This commit makes a copy of the HttpStatus values array, and uses that
to resolve status codes.
Closes gh-26842
2021-04-22 15:39:03 +02:00
Stephane Nicoll
e4c0ff569b
Merge pull request #26787 from dreis2211
...
* pr/26787:
Avoid exceptions when evaluating validation hints
Closes gh-26787
2021-04-22 11:26:15 +02:00
Christoph Dreis
e7cbe23771
Avoid exceptions when evaluating validation hints
...
Prior to this commit, evaluating validation hints for
@javax.validation.Valid caused exceptions being raised when getting the
value of this annotation, which does not exist. Bypassing
AnnotationUtils.getValue() in those cases can improve performance by
avoiding the cost incurred by raising exceptions.
See gh-26787
2021-04-22 11:19:30 +02:00
Rossen Stoyanchev
d275a4e28d
Asciidoc typo from previous commits
2021-04-21 17:37:06 +01:00
Rossen Stoyanchev
42a23098de
Update docs on Principal controller method arguments
...
Closes gh-26791
2021-04-21 17:28:14 +01:00
Rossen Stoyanchev
d25ae4b02c
Add advice on using exchange from an ExchangeFilterFunction
...
Closes gh-26819
2021-04-21 17:04:10 +01:00
Sam Brannen
5740eaf33e
Polishing
2021-04-21 14:15:27 +02:00
Sviatoslav Hryb
80d46ba80e
Update FactoryBean generic description in ref docs
...
Closes gh-26758
2021-04-21 14:06:43 +02:00
Сергей Цыпанов
db9a10bf35
Use String.startsWith() instead of substring() in PatternMatchUtils
...
Closes gh-26822
2021-04-21 13:56:38 +02:00
Arjen Poutsma
27bfcbbc82
Fix daylight saving issue in CronExpression
...
Closes gh-26830
2021-04-21 12:04:21 +02:00
Sviatoslav Hryb
b153b5e53b
Fix Kotlin code formatting for Inline Maps section of ref docs
...
Closes gh-26836
2021-04-21 11:13:00 +02:00
Sam Brannen
1f477a5c1c
Polish Javadoc for ColumnMapRowMapper
...
See gh-26823
2021-04-20 19:27:56 +02:00
Marten Deinum
ceac2a5c3c
Remove reference to Commons Collections in ColumnMapRowMapper Javadoc
...
This commit removes the outdated reference to Commons Collections
in the Javadoc for ColumnMapRowMapper.
Closes gh-26823
2021-04-20 19:22:57 +02:00
Sviatoslav Hryb
e03fdeaf8b
Improve ref docs regarding @Bean method visibility constraints
...
Closes gh-26797
2021-04-20 19:08:27 +02:00
Sviatoslav Hryb
0286549466
Fix formatting for PersonValidator Kotlin example in ref docs
...
Closes gh-26832
2021-04-20 18:59:50 +02:00
Sam Brannen
71158f4d96
Polishing
...
See gh-26825
2021-04-20 18:56:18 +02:00
Sviatoslav Hryb
7303680369
Remove reference to deprecated Joda Time support in @DateTimeFormat Javadoc
...
Closes gh-26825
2021-04-20 18:54:34 +02:00
Sam Brannen
906a1f561a
Polish CronTriggerTests and assess daylight savings time issue
...
This test polishes CronTriggerTests and modifies the
daylightSavingMissingHour() test to help analyze why the test fails
for CET if the minute value for the last completion time falls between
0 and 9 minutes.
Associated broken build:
https://ge.spring.io/s/epphj7vruwcn6/tests/:spring-context:test/org.springframework.scheduling.support.CronTriggerTests/testDaylightSavingMissingHour(LocalDateTime,%20TimeZone)%5B2%5D?expanded-stacktrace=WyIwIl0
2021-04-20 12:18:01 +02:00
Sam Brannen
e489706f13
Ensure @DateTimeFormat tests pass on Java 9+
...
Prior to this commit, two tests for exception handling regarding
@DateTimeFormat processing only passed on Java 8. This is due to the
fact that the toString() implementation for annotations changed in Java
9. Specifically, the representation for arrays changed from [] to {},
and strings are enclosed in double quotes beginning with Java 9.
This commit ensures that the affected @DateTimeFormat tests pass on
Java 9+, by making the assertions more lenient regarding toString()
output for annotations.
See gh-26777
See gh-26804
2021-04-18 15:48:00 +02:00
Rossen Stoyanchev
69bbdce826
HandlerMappingIntrospector ensures initialized RequestPath
...
Closes gh-26814
2021-04-16 19:56:03 +01:00
Sam Brannen
0f31830ae2
Retain root cause for parsing patterns in @DateTimeFormat
...
The support for fallback parsing patterns in @DateTimeFormat introduced
in gh-20292 introduced a regression in that the original cause of the
parsing exception was no longer retained.
gh-26777 addressed that regression for `java.time` support; whereas,
this commit addresses that regression for legacy Date types.
This commit ensures that the original ParseException is set as the
cause for any newly created ParseException, thereby retaining the
original exception as the root cause.
Closes gh-26804
2021-04-16 19:14:41 +02:00
Sam Brannen
5d297c6387
Polishing
2021-04-16 11:44:48 +02:00
Sviatoslav Hryb
320f5836b4
Fix LocaleEditor description & formatting in reference manual
...
Closes gh-26816
2021-04-16 11:39:45 +02:00
Sviatoslav Hryb
af06b80bdf
Update FormatterRegistry interface in reference manual
...
Closes gh-26812
2021-04-15 18:45:13 +02:00
Sam Brannen
5b1ab31559
Polishing
2021-04-15 11:17:04 +02:00
Sviatoslav Hryb
bf05da1f8c
Remove unnecessary semicolon in BeanInfo example
...
Closes gh-26806
2021-04-15 11:10:15 +02:00
Stephane Nicoll
63217e44f1
Merge pull request #26807 from mustafau
...
* pr/26807:
Update copyright year of changed file
Remove leftover Javadoc from WebClient
Closes gh-26807
2021-04-15 09:56:16 +02:00
Stephane Nicoll
5226a67161
Update copyright year of changed file
...
See gh-26807
2021-04-15 09:50:54 +02:00
Mustafa Ulu
1694274e32
Remove leftover Javadoc from WebClient
...
See gh-26807
2021-04-15 09:50:39 +02:00
Rossen Stoyanchev
27c4e74e24
Update CORS Javadoc in spring-websocket
...
Closes gh-26753
2021-04-13 17:43:40 +01:00
Spring Buildmaster
b73eb51cb1
Next development version (v5.3.7-SNAPSHOT)
2021-04-13 11:15:32 +00:00
Juergen Hoeller
f31933e67e
Nullability refinements
2021-04-13 12:26:52 +02:00
Juergen Hoeller
c7989c78c8
Polishing
2021-04-13 12:26:31 +02:00
Sam Brannen
f03ccd5cc9
Fix Javadoc in AcceptHeaderLocaleResolver
...
Closes gh-26793
2021-04-13 11:36:28 +02:00
Sam Brannen
bcc6171a72
Polish contribution
...
See gh-26785
2021-04-13 11:21:56 +02:00
Sviatoslav Hryb
a80c5fcfaf
Improve @EventListener documentation in reference manual
...
Closes gh-26785
2021-04-13 11:17:09 +02:00
Juergen Hoeller
04ce8e0ac4
Make URL path tests compatible with Windows
...
See gh-26775
2021-04-13 09:52:23 +02:00