Juergen Hoeller
df8061494c
TransactionTemplate equality for same transaction manager only
...
Issue: SPR-16572
7 years ago
Juergen Hoeller
cf74b1b8be
Consistent result synchronization in WebAsyncManager
...
Issue: SPR-16571
7 years ago
igor-suhorukov
58a5138f26
simplify lambda expression
7 years ago
igor-suhorukov
2f9d0a7de8
simplify boolean NOT operation
7 years ago
igor-suhorukov
d89f9af22d
parentheses should be removed from a single lambda input parameter when its type is inferred
7 years ago
igor-suhorukov
0c45c4c6a3
lamdbas containing only one statement should not nest this statement in a block
7 years ago
igor-suhorukov
6163f2d32f
use more modern java API for empty collections
7 years ago
igor-suhorukov
32b689a994
use StringBuilder for complex string concatenation
7 years ago
igor-suhorukov
407ecf7334
to get rid of "magic" time constants
7 years ago
Brian Clozel
ed7684d2b2
Don't implicitly check preconditions on PUT requests
...
Prior to this commit, the `HttpEntityMethodProcessor` would check HTTP
conditions on non-safe requests (i.e. not GET/HEAD). This would prevent
Controllers from returning `ResponseEntity` containing response headers
with updated values of `"Last-Modified"` or `ETag` once the resource has
been updated.
This commit avoids those checks for non GET/HEAD requests - this code
can still be leveraged from Controllers themselves using
`ServletWebRequest::checkNotModified` methods.
Issue: SPR-15780
7 years ago
Juergen Hoeller
50253f670e
Quick access to volatile field (full synchronization only for lazy init)
...
Issue: SPR-16570
7 years ago
Juergen Hoeller
139dc1d373
Polishing (collapsed if checks, consistent downcasts, refined javadoc)
7 years ago
igor-suhorukov
0f7485b01d
Polish: reorder the modifiers to comply with the Java Language Specification.
7 years ago
Juergen Hoeller
a02aafe5fe
Regular getBeanInfo call for interfaces (enabling Introspector's cache)
...
Issue: SPR-16568
7 years ago
Rossen Stoyanchev
eb96ff2943
Doc improvements related to HTTP streaming
...
Issue: SPR-16494
7 years ago
Rossen Stoyanchev
568c93457a
Improve ResponseBodyEmitter error handling
...
After send error, ignore calls to complete or completeWithError by the
application in the same thread (e.g. try-catch block), to avoid a
competing with an error callback from servlet container during which
the same action is taken.
Issue: SPR-16548
7 years ago
Rossen Stoyanchev
e20652009d
Improve docs on SseEmitter onComplete/onError
...
Issue: SPR-16548
7 years ago
Sam Brannen
b14301bfba
Allow TestContextManager to be compiled in Eclipse again
7 years ago
Violeta Georgieva
030bc224e3
Invert the check for ServletInputStream.isReady()
...
When checking whether there is still request body the first method
that should be checked is ServletInputStream.isReady() and then
ServletInputStream.isFinished(). ServletInputStream.isReady() is the active
method whereas the ServletInputStream.isFinished() is not.
It is important to call ServletInputStream.isReady() because if it returns
false it will schedule a dispatch and if the request body is already read it will
send onAllDataRead event.
Issue: SPR-16521
7 years ago
Juergen Hoeller
20287e0cb0
Polishing
7 years ago
Juergen Hoeller
934a995acb
Strong recommendation for OpenPDF 1.0.5 instead of iText 2.1.7
...
Issue: SPR-16107
(cherry picked from commit b70d400
)
7 years ago
Sam Brannen
0f5a3e2647
Polish formatting in Groovy scripts
7 years ago
Sam Brannen
df0b39e8ac
Add missing packages to Groovy scripts
7 years ago
Juergen Hoeller
f57fcdee3c
Polishing
7 years ago
Patrick0308
6f4d25a6e6
Polish "Use Java 8 forEach method on Map"
7 years ago
Sam Brannen
2454b31b30
Polish MockRestRequestMatchers[Tests]
7 years ago
Sam Brannen
f932796201
Polishing
7 years ago
Sam Brannen
fef0c7b151
Throw AssertionError instead of IAE in MockRestRequestMatchers
7 years ago
Yannik Hampe
4094879daf
Make MockRestRequestMatchers independent of JUnit ( #1720 )
...
MockRestRequestMatchers was using org.junit.Assert.assertNotNull
and thus could not be used in projects that use e.g. TestNG instead
of JUnit 4.
7 years ago
Rossen Stoyanchev
27815847b1
content-length support in EncoderHttpMessageWriter
...
EncoderHttpMessageWriter checks explicitly for Mono publishers and sets
the content length, if it is known for the given data item.
Issue: SPR-16542
7 years ago
Rossen Stoyanchev
7a8e0ff3c3
Update ServerWebExchangeTests
7 years ago
Juergen Hoeller
eb9c43dcbc
Reliably expose nested cause exception message for PersistenceException
...
Issue: SPR-16559
7 years ago
Juergen Hoeller
90d768bb7f
Overloaded convenience setters: setCacheControl(CacheControl), setExpires(ZonedDateTime)
...
Issue: SPR-16562
7 years ago
Juergen Hoeller
82515a3f01
Consistent incrementer arrangement for PostgreSQL, DB2 and SAP HANA
...
Includes related polishing in core.metadata and datasource.embedded and a revision of the corresponding database definitions in sql-error-codes.
Issue: SPR-16558
7 years ago
Juergen Hoeller
4a4f2c2f08
Drop version check in isGetGeneratedKeysSimulated (for PostgreSQL 10)
...
Issue: SPR-16556
7 years ago
Rossen Stoyanchev
e48def2d35
Set readyToWrite flag after cached signals emitted
...
Issue: SPR-16555
7 years ago
Brian Clozel
6d26e61ac7
Guard against invalid paths in ResourceUrlProvider
...
This commit makes sure that no `StringIndexOutOfBoundsException` is
thrown when `getForRequestUrl` is called with a URL that's shorter than
the expected context path.
Issue: SPR-16526
7 years ago
Juergen Hoeller
4f8c4546f1
Upgrade to SnakeYAML 1.20 and Selenium 3.10
7 years ago
Juergen Hoeller
a0cc80063d
Concurrency and exception message refinements for test transactions
7 years ago
Juergen Hoeller
ff818d56a4
Correct description for class-level @Transactional with AspectJ
...
Includes proper quoting of AspectJ expressions in Asciidoc.
Issue: SPR-16552
Issue: SPR-16549
7 years ago
Juergen Hoeller
c543368aad
Polishing
7 years ago
igor-suhorukov
06fef1e5a4
Polish: assertion arguments should be passed in the correct order
7 years ago
Stephane Nicoll
38ebb6c982
Restore includes and isCompatibleWith
...
See gh-1713
7 years ago
Stephane Nicoll
d89d95ef1c
Merge pull request #1715 from igor-suhorukov:master
...
* pr/1715:
Polish
7 years ago
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
Juergen Hoeller
cec7204fca
Polishing
7 years ago
Juergen Hoeller
2e164787db
Upgrade to Groovy 2.4.14 and Undertow 1.4.23
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
cd4f0935c5
Revised deprecation markers
7 years ago