Juergen Hoeller
1ea233ac56
Upgrade to Reactor Bismuth SR6
2018-02-17 23:23:24 +01:00
Juergen Hoeller
d7cab23e6d
Consistent use of StringUtils.toStringArray
...
(cherry picked from commit 6d11b40 )
2018-02-16 20:49:17 +01:00
Rossen Stoyanchev
c198138d4e
Polish URI encoding section
2018-02-16 14:35:15 -05:00
Rossen Stoyanchev
2b4250ec44
[doc] WebFlux has coverage of URI links
...
Issue: SPR-16423
2018-02-16 12:58:01 -05:00
Rossen Stoyanchev
9c679fccdf
Fix intdentation
2018-02-16 12:34:25 -05:00
Rossen Stoyanchev
ac495d7380
Polish ForwardedHeaderFilter and related code
...
Issue: SPR-16506
2018-02-16 12:17:23 -05:00
Juergen Hoeller
c9d08bff41
DefaultListableBeanFactory only calls getPriority for non-null instance
...
Issue: SPR-16508
2018-02-16 17:27:42 +01:00
Rossen Stoyanchev
6920a1f958
ForwardedHeaderFilter handles query+fragment correctly
...
Issue: SPR-16506
2018-02-16 11:10:50 -05:00
Rossen Stoyanchev
dcf5c646be
Use correct X509 certificate attribute name
...
Issue: SPR-16507
2018-02-16 09:45:17 -05:00
Sam Brannen
1513e7be63
Polishing
2018-02-16 14:25:13 +01:00
Juergen Hoeller
8d3264f680
Prefer List.sort(Comparator) over Collections.sort(List, Comparator)
2018-02-16 10:23:18 +01:00
Juergen Hoeller
b35274f5a7
WebSocket callbacks need to remain inner classes (retaining generics)
2018-02-16 10:22:05 +01:00
igor-suhorukov
d5b0df8c3f
Polish codacy warning: fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
2018-02-16 09:38:19 +01:00
igor-suhorukov
2be4985b8f
Polish: anonymous inner classes containing only one method should become lambdas,
...
use getOrDefault instead of ternary operator
2018-02-16 09:38:19 +01:00
Rossen Stoyanchev
aa4bcedad3
Up-to-date and expanded coverage on preparing URIs
...
Issue: SPR-16422
2018-02-15 23:25:52 -05:00
Rossen Stoyanchev
9801afb85d
Fix compile error
...
Update places that call UriUtils to catch the right exception that is
now raised as a result of using Charet.forName.
2018-02-15 15:59:21 -05:00
Rossen Stoyanchev
4db0d999af
Polish UriBuilderFactory and implementation
...
Issue: SPR-16422
2018-02-15 15:44:44 -05:00
Rossen Stoyanchev
3d20db1e49
Polish UriUtils, UriComponents
...
Issue: SPR-16422
2018-02-15 15:44:37 -05:00
Rossen Stoyanchev
394c30efd0
Update to Bismuth snapshots
2018-02-15 11:08:05 -05:00
Juergen Hoeller
cd8a1bdb8b
AcceptHeaderLocaleContextResolver leniently handles invalid header value
...
Also falls back to language-only match among its supported locales now.
Issue: SPR-16500
Issue: SPR-16457
2018-02-15 13:14:49 +01:00
sdeleuze
067ad4c57a
Update Kotlin reference documentation
2018-02-15 11:46:30 +01:00
Andy Wilkinson
52dfc4ebc4
Align spring-webflux's Webjars Locator dependency with spring-webmvc
2018-02-15 00:58:17 +01:00
Rossen Stoyanchev
3367df8637
Suggest use of OkHttp MockWebServer
...
Issue: SPR-16482
2018-02-14 17:32:24 -05:00
Juergen Hoeller
7baf33fea0
Avoid multiple warnings related to jackson-module-kotlin
...
Issue: SPR-16497
2018-02-14 21:19:57 +01:00
Rossen Stoyanchev
1aeae5d40d
Fix compiler error
2018-02-14 12:23:52 -05:00
Rossen Stoyanchev
0ead0503eb
AbstractJackson2Encoder uses private fields
...
Make the protected fields in AbstractJackson2Encoder private plus
minor refactoring to the way streaming separators are applied.
The current (5.0.3) behavior is to always use '\n', but in 5.0.4 the
newly supported "application/stream+x-jackson-smile" needs to be
excluded from that. For now, separator determination remains private
in the abstract base class, but current behavior remains which is to
apply '\n' by default.
Issue: SPR-15424
2018-02-14 12:15:01 -05:00
Juergen Hoeller
6d7573262e
FormTag skips rendering of hidden fields in case of empty Map
...
Issue: SPR-16498
2018-02-14 17:41:45 +01:00
Juergen Hoeller
de7ff556d9
Polishing
2018-02-14 17:41:08 +01:00
Sam Brannen
24adc7d3c6
Delete unused imports
2018-02-14 16:55:57 +01:00
Juergen Hoeller
95f7180298
Explicit documentation notes on transacted sessions vs AUTO_ACKNOWLEDGE
...
Issue: SPR-16487
2018-02-14 15:32:23 +01:00
Juergen Hoeller
3b810f3544
Consistent Class array vs vararg declarations (and related polishing)
2018-02-14 14:44:00 +01:00
Juergen Hoeller
46cbdff5c3
Consistent ControllerAdvice applicability against user-declared class
...
Issue: SPR-16496
2018-02-14 14:41:16 +01:00
Juergen Hoeller
766e6028d7
Defensively handle DatabaseMetaData.getConnection() returning null
...
Issue: SPR-16495
2018-02-14 14:40:52 +01:00
igor-suhorukov
7826567df6
Polish: lamdbas containing only one statement should not nest this statement in a block
2018-02-14 01:22:01 +01:00
Juergen Hoeller
99662bc702
Polishing
2018-02-13 23:32:10 +01:00
igor-suhorukov
45e520ed86
Polish: remove unused private fields, remove empty operator
2018-02-13 23:00:18 +01:00
Rossen Stoyanchev
1908080d5c
Test for disconnected client detection
...
Issue: SPR-16494
2018-02-13 14:58:10 -05:00
Rossen Stoyanchev
8c37ad7ac5
Startup/shutdown log messages for AbstractHttpServer
...
Issue: SPR-16494
2018-02-13 14:58:10 -05:00
Juergen Hoeller
37609e4ede
Object/FieldError exposes source object through unwrap/contains methods
...
Issue: SPR-16372
2018-02-13 17:58:31 +01:00
Stephane Nicoll
6bbc5b0f26
Merge pull request #1681 from olivergierke-patch-1
...
* pr/1681:
Add explicit anchor to discussion about constructor VS. setter injection
2018-02-13 17:31:36 +01:00
Oliver Gierke
30316b16e5
Add explicit anchor to discussion about constructor VS. setter injection
...
This commit adds an Asciidoc anchor to the section on different injection
styles to be able to link to the discussion as official recommendation.
Closes gh-1681
2018-02-13 17:29:56 +01:00
Juergen Hoeller
0c78c9c6f7
Refined javadoc and exception messages
2018-02-13 15:25:42 +01:00
Juergen Hoeller
d3cee45f30
Polishing
2018-02-13 13:15:29 +01:00
Sam Brannen
c11a963b1e
Remove dependency on apiguardian-api in spring-test
...
The apiguardian-api dependency is once again a mandatory transitive
dependency of JUnit 5 since JUnit Jupiter 5.0.3.
2018-02-13 13:04:48 +01:00
Sam Brannen
02fb5a4121
Use effectively final local variable in lambda expression
2018-02-13 12:56:36 +01:00
Juergen Hoeller
c9aede3727
Upgrade to Tomcat 8.5.28 (and Selenium HtmlUnit Driver 2.29.2)
2018-02-13 12:44:34 +01:00
Vladimir Sitnikov
659f13be1c
Avoid creating message arguments to Assert.isABC calls
...
See 67f184293b
2018-02-13 12:31:49 +01:00
Juergen Hoeller
b449928691
Avoid unused arguments for internal delegates
2018-02-13 11:40:28 +01:00
Rossen Stoyanchev
0585fb3999
Polish
2018-02-12 22:04:53 -05:00
Rossen Stoyanchev
4ee09c89b5
Fix regression in MappingJackson2MessageConverter
...
As of 4.3.13 MappingJackson2MessageConverter uses the MethodParameter
hint to obtain generic type information but it needs to be careful, and
nest one level, if the target parameter type has a Message wrapper.
Issue: SPR-16486
2018-02-12 21:30:26 -05:00