igor-suhorukov
129530f792
Polish
...
Closes gh-1715
7 years ago
Rossen Stoyanchev
cef98e1125
FilePart uses correct flags when opening files
...
Issue: SPR-16546
7 years ago
igor-suhorukov
ed936cbd89
Polish: Overriding methods should do more than simply call the same method in the super class
7 years ago
Juergen Hoeller
478162741d
WebApplicationContextFacesELResolver.isReadOnly returns true for WAC
...
Issue: SPR-16543
7 years ago
igor-suhorukov
8080f56db8
Polish: "@Override" should be used on overriding and implementing methods
7 years ago
Juergen Hoeller
9962df6527
Polishing
7 years ago
igor-suhorukov
7bce04c06c
Polish: combine catches block with same body
7 years ago
Rossen Stoyanchev
e0e90ed006
SSE writer respects charset in MediaType
...
Issue: SPR-16516
7 years ago
Juergen Hoeller
15c97b753e
Revised URI building in http.server (consistently use raw attributes)
...
Issue: SPR-16434
7 years ago
Juergen Hoeller
2a379e099c
Polishing
7 years ago
Juergen Hoeller
8a56cd0e8b
Revised URI building in http.server (avoid package cycle with web.util)
...
Issue: SPR-16434
7 years ago
igor-suhorukov
b202205d77
Polish: String.valueOf() should not be appended to a String
7 years ago
igor-suhorukov
49fd724d8f
Polish: String function use should be optimized for single characters
7 years ago
igor-suhorukov
c782075a13
Polish: Array designators "[]" should be on the type, not the variable
7 years ago
Juergen Hoeller
3531c104b0
Prefer Collections.addAll call with array over Set.addAll(Arrays.asList)
7 years ago
Juergen Hoeller
eeecbaef2c
Gson/JsonbHttpMessageConverter keeps output stream open (for SseEmitter)
...
Issue: SPR-16529
7 years ago
Juergen Hoeller
578c078082
Polishing
7 years ago
Juergen Hoeller
1278459ad5
ReactorHttpHandlerAdapter logs bad request at warn level only
...
Issue: SPR-16524
7 years ago
Juergen Hoeller
a5cbf5fe24
Consistent use of Collection.toArray with zero-sized array argument
...
Includes consistent use of ClassUtils.toClassArray (as non-null variant)
Issue: SPR-16523
7 years ago
Rossen Stoyanchev
3bfa56dff2
Polish
7 years ago
Rossen Stoyanchev
6959e66b25
JsonEOFException is wrapped as DecodingError
...
Jackson2Tokenizer now also wraps JsonProcessingException's on
endOfInput(), as it also does in tokenize(DataBuffer). This ensures
treating those errors as 400 vs 500.
Issue: SPR-16521
7 years ago
Rossen Stoyanchev
a6d527e57a
Call onAllDataRead when read() returns -1
...
When read returns -1, we know we've reached the end of input. Instead
of waiting for the onAllDataRead container callback, this commit
proactively calls onAllDataRead.
Issue: SPR-16521
7 years ago
Juergen Hoeller
0de36d2883
Consistent HttpMethod identity comparisons
7 years ago
Juergen Hoeller
d7cab23e6d
Consistent use of StringUtils.toStringArray
...
(cherry picked from commit 6d11b40
)
7 years ago
Rossen Stoyanchev
9c679fccdf
Fix intdentation
7 years ago
Rossen Stoyanchev
ac495d7380
Polish ForwardedHeaderFilter and related code
...
Issue: SPR-16506
7 years ago
Rossen Stoyanchev
6920a1f958
ForwardedHeaderFilter handles query+fragment correctly
...
Issue: SPR-16506
7 years ago
Rossen Stoyanchev
dcf5c646be
Use correct X509 certificate attribute name
...
Issue: SPR-16507
7 years ago
Juergen Hoeller
8d3264f680
Prefer List.sort(Comparator) over Collections.sort(List, Comparator)
7 years ago
Rossen Stoyanchev
4db0d999af
Polish UriBuilderFactory and implementation
...
Issue: SPR-16422
7 years ago
Rossen Stoyanchev
3d20db1e49
Polish UriUtils, UriComponents
...
Issue: SPR-16422
7 years ago
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
7 years ago
Juergen Hoeller
7baf33fea0
Avoid multiple warnings related to jackson-module-kotlin
...
Issue: SPR-16497
7 years ago
Rossen Stoyanchev
1aeae5d40d
Fix compiler error
7 years ago
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
7 years ago
Sam Brannen
24adc7d3c6
Delete unused imports
7 years ago
igor-suhorukov
7826567df6
Polish: lamdbas containing only one statement should not nest this statement in a block
7 years ago
Juergen Hoeller
99662bc702
Polishing
7 years ago
igor-suhorukov
45e520ed86
Polish: remove unused private fields, remove empty operator
7 years ago
Rossen Stoyanchev
8c37ad7ac5
Startup/shutdown log messages for AbstractHttpServer
...
Issue: SPR-16494
7 years ago
Juergen Hoeller
0c78c9c6f7
Refined javadoc and exception messages
7 years ago
Vladimir Sitnikov
659f13be1c
Avoid creating message arguments to Assert.isABC calls
...
See 67f184293b
7 years ago
igor-suhorukov
0ee505b73e
Polish: assertion arguments should be passed in the correct order,
...
use assertNull instead of assertEquals(null, value),
declare delta as double value in assertEquals
7 years ago
Juergen Hoeller
39201adca4
Consistent handling of InterruptedException
...
Issue: SPR-16479
7 years ago
igor-suhorukov
6ea0af3540
Polish: Lambdas should be replaced with method references
7 years ago
igor-suhorukov
9a6fbf59c5
Polish: follow name convention - make immutable fields final
7 years ago
Stephane Nicoll
991eb4858e
Update copyright header
7 years ago
igor-suhorukov
c0b4b5787f
Change this "try" to a try-with-resources
...
Closes gh-1671
7 years ago
igor-suhorukov
e381514b07
Collection.isEmpty() should be used to test for emptiness
...
Closes gh-1670
7 years ago
igor-suhorukov
4c888d0f32
Polish
...
Closes gh-1669
7 years ago