Stephane Nicoll
909cacec42
Merge pull request #1670 from igor-suhorukov
...
* pr/1670:
Collection.isEmpty() should be used to test for emptiness
7 years ago
igor-suhorukov
e381514b07
Collection.isEmpty() should be used to test for emptiness
...
Closes gh-1670
7 years ago
Stephane Nicoll
7da40abba5
Merge pull request #1669 from igor-suhorukov
...
* pr/1669:
Polish
7 years ago
igor-suhorukov
4c888d0f32
Polish
...
Closes gh-1669
7 years ago
Arjen Poutsma
fb61af1882
Allow "release on close" for DataBuffer.asInputStream
...
This commit introduces DataBuffer.asInputStream(boolean), that can
release the underlying buffer when the stream is closed.
Furthermore, this commit adds additional javadoc.
Issue: SPR-16444
7 years ago
Juergen Hoeller
4318710b9b
Upgrade to Hibernate 5.2.13
7 years ago
Juergen Hoeller
285b01fc79
Test with all-negated profile condition
...
Issue: SPR-16465
7 years ago
Juergen Hoeller
ac7a699356
NamedParameterUtils.isParameterSeparator checks for non-ASCII characters
...
Issue: SPR-16472
7 years ago
Johnny Lim
5c0ddf3c69
Polishing
7 years ago
Rossen Stoyanchev
1b98d09855
Fix copy+paste error
7 years ago
Rossen Stoyanchev
9551b3a9bb
Eliminate sub-sections in Spring MVC test chapter
...
The very short, summary mini-sections confuse the client-side code that
highlights the TOC item. This commit removes the sub-sections.
7 years ago
Rossen Stoyanchev
efdfe9ad8d
Minor Javadoc update
7 years ago
Rossen Stoyanchev
1653a32a04
Stabilize Flux.interval emissions in integration tests
...
After this commit the use of interval in tests is combined with
take(n).onBackpressureBuffer(n) to ensure emissions don't fail if the
fixed rate is exceeded (e.g. on slow CI server).
Tests that verify N number of items followed by verifyOnComplete()
should set the number of emissions to N.
Tests that verify N number of items followed by thenCancel() should
set the number of buffered to an arbitrary number greater than N.
7 years ago
Juergen Hoeller
41a4bdea55
Upgrade to Kotlin 1.2.21
7 years ago
Juergen Hoeller
5c813a366b
Consistent use of @throws instead of @exception
7 years ago
Juergen Hoeller
0ac117ff27
Explicit notes on isolation level handling in participating transactions
...
Issue: SPR-16463
7 years ago
Juergen Hoeller
817a836960
Consistent object type exposure for JSON rendering (workaround for Gson)
...
Issue: SPR-16461
7 years ago
sdeleuze
31b25b5808
Make WebFlux Jackson refdoc section relevant for Smile
...
Issue: SPR-16151
7 years ago
sdeleuze
196f3f8cc1
Improve WebFlux exception logging
...
This commit updates HttpWebHandlerAdapter and
ResponseStatusExceptionHandler in order to specify the method/uri in the
logged message.
It also logs a WARN message for bad request (400) HTTP responses in
order to get some logs when an exception is thrown due to client error
(unable to deserialize request body for example).
Issue: SPR-16447
7 years ago
Stephane Nicoll
fdde9de005
Merge pull request #1606 from kamilszymanski:arraycopy
...
* pr/1606:
Replace manual array copy with native method call
7 years ago
Kamil Szymanski
61117245a6
Replace manual array copy with native method call
...
Closes gh-1606
7 years ago
Rossen Stoyanchev
f20eacdb9b
Polish
7 years ago
Rob Winch
0cd427bdd3
MockHttpServletRequestBuilder decodes pathInfo
...
Previously MockHttpServletRequestBuilder calculated the pathInfo from the
provided URL without decoding the value. This meant that the pathInfo
incorrectly included URL encoded values.
Now MockHttpServletRequestBuilder properly decodes the pathInfo.
Fixes: SPR-16453
7 years ago
Arjen Poutsma
609f173ebc
StringDecoder shouldn't chop off strings randomly
...
Issue: SPR-16337
7 years ago
Juergen Hoeller
cfe7ff1c81
MimeType.compareTo uses case-insensitive Charset (analogous to equals)
...
Issue: SPR-16458
7 years ago
Juergen Hoeller
4dc964544f
AcceptHeaderLocaleResolver falls back to language-only match among its supported locales
...
Issue: SPR-16457
7 years ago
Juergen Hoeller
c5a33d62dd
TypeVariablesVariableResolver compares variables by full equality again
...
Issue: SPR-16456
7 years ago
Juergen Hoeller
30f6e447d5
TypeVariablesVariableResolver compares variables by name
...
Issue: SPR-16456
7 years ago
Juergen Hoeller
b3e21ec737
MockHttpServletRequest leniently handles invalid Accept-Language header
...
Issue: SPR-16454
7 years ago
Juergen Hoeller
7f96827ade
Polishing
7 years ago
Juergen Hoeller
4a1cc9ced7
Constructor-provided field values get recorded for failed binding result
...
Also, TypeMismatchExceptions get registered via BindingErrorProcessor.
Issue: SPR-16449
7 years ago
Juergen Hoeller
9c069f6cb1
Avoid String concatenation for not-null assertion in BeanProperty/DirectFieldBindingResult
...
Issue: SPR-16455
7 years ago
Juergen Hoeller
b6ecfcf9ec
CachingConnectionFactory makes its Session caching inactive during reset
...
Issue: SPR-16450
7 years ago
Stephane Nicoll
10caaefd0b
Merge pull request #1657 from izeye:polish-20180201
...
* pr/1657:
Polish SqlParameter.sqlTypesToAnonymousParameterList()
7 years ago
Johnny Lim
df3241e072
Polish SqlParameter.sqlTypesToAnonymousParameterList()
...
Closes gh-1657
7 years ago
Stephane Nicoll
f0dd31a639
Merge pull request #1656 from adamlehenbauer:master
...
* pr/1656:
Fix typos
7 years ago
adamlehenbauer
8de80ffe9e
Fix typos
...
Closes gh-1656
7 years ago
Rossen Stoyanchev
0ded239453
[doc] Update Spring MVC exception handling content
...
Issue: SPR-16394
7 years ago
Rossen Stoyanchev
d9a93f44ae
[doc] Update links to composed annotations
7 years ago
sdeleuze
b6c78452b2
Update and improve script templating documentation
...
Issue: SPR-16447
7 years ago
Rossen Stoyanchev
b77032c36e
[doc] Explain custom/composed @RequestMapping annotations
...
Issue: SPR-16442
7 years ago
sdeleuze
b2681e1f4a
Add ViewResolverRegistry#scriptTemplate in WebFlux
...
Issue: SPR-16431
7 years ago
Juergen Hoeller
c7f60d1799
SchedulerFactoryBean always ignores local factory settings in case of an external SchedulerFactory instance (expecting it to be fully initialized)
...
This commit includes various javadoc fixes and related refinements.
Issue: SPR-16439
7 years ago
Rossen Stoyanchev
6d909b013e
Do not commit response on access to content
...
MockHttpServletResponse no longer calls flushBuffer on calls to
getContentAsByteArray and getContentAsString. The flushing doesn't
actually do anything useful but does commit the response leading to
unexpected side effects.
Issue: SPR-16430
7 years ago
Juergen Hoeller
cd57335e46
SchedulerFactoryBean ignores local factory settings in case of external SchedulerFactory instance (unless it extends from StdSchedulerFactory)
...
Issue: SPR-16439
7 years ago
sdeleuze
d02e4fb545
Add Vary:Access-Control-Request-Method/Headers CORS headers
...
This commit adds these 2 Vary headers in addition to the existing
Origin one to avoid caching of Access-Control-Request-Method and
Access-Control-Request-Headers headers which can be an issue
when allowed methods or headers are unbounded and only the
requested method or headers are returned in the response.
Issue: SPR-16413
7 years ago
Juergen Hoeller
857a5b03b7
SchedulerFactoryBean accepts external Quartz SchedulerFactory instance
...
Issue: SPR-16439
7 years ago
Rossen Stoyanchev
f4de8615aa
Fix encoding issue in ServerHttpRequest.mutate()
...
Issue: SPR-16434
7 years ago
Juergen Hoeller
637e09f995
Polishing
7 years ago
Juergen Hoeller
ef2e16912d
Formatting support for java.time.Year and java.time.Month
...
Issue: SPR-16437
7 years ago