Raman Gupta
fada91e538
Treat Kotlin nullable as non-required
...
Where `isOptional` is used, also check for `isNullable` i.e.
values are not considered required if they are Kotlin nullables:
- spring-messaging: named value method arguments
- spring-web: named value method arguments
- spring-webmvc: request parts
This means that Kotlin client code no longer has to explicity specify
"required=false" for Kotlin nullables -- this information is inferred
automatically by the framework.
Issue: SPR-14165
9 years ago
Juergen Hoeller
80931b211c
Shared DefaultConversionService instance for simple fallback purposes
...
Issue: SPR-14948
9 years ago
Juergen Hoeller
9bf4d7cf4e
Polishing
9 years ago
Christoph Dreis
a929e9ccaa
Implement allocation-friendly method to get user count in SimpUserRegistry
...
SPR-14930
9 years ago
Juergen Hoeller
ac774cdcef
Avoid deprecated Mockito methods
...
Issue: SPR-14880
9 years ago
Juergen Hoeller
84d3808b3b
Upgrade to Mockito 2.2
...
Issue: SPR-14880
9 years ago
Juergen Hoeller
dc080cb1be
Revised NoSuchBeanDefinitionException message and ResolvableType handling
...
Includes consistent quoting of qualified type names in related classes.
Issue: SPR-14831
9 years ago
Juergen Hoeller
dbaafdd04e
MessageChannel declares send(Message) as default method
...
Issue: SPR-14854
9 years ago
Juergen Hoeller
3726c6f18d
Polishing
9 years ago
Juergen Hoeller
eafaaa5cb8
Polishing
9 years ago
Juergen Hoeller
ffc781b163
Explicit calls on Buffer base type (for compatibility with covariant return type on JDK 9's ByteBuffer)
...
Issue: SPR-14645
9 years ago
Juergen Hoeller
fb7ae010c8
Avoid unnecessary generics on emptyMap/Set/List
9 years ago
Juergen Hoeller
a6b0b6e279
Efficient STOMP content-length header check
...
Issue: SPR-14747
9 years ago
Juergen Hoeller
c64f39943f
Polishing
9 years ago
Juergen Hoeller
e188b4428e
Polishing
9 years ago
Christoph Dreis
774e4c3dc1
Improve performance of StompEncoder
...
Fixes SPR-14747
9 years ago
Rossen Stoyanchev
99c7917124
Reset connection before delegating to handler
...
Resetting the connection first before invoking a failure callback on
the application handler ensures that any checks to isConnected will
return false.
Issue: SPR-14721
9 years ago
Juergen Hoeller
6dc1898dbb
Timeout exceptions as RuntimeExceptions
...
Issue: SPR-14669
9 years ago
Rossen Stoyanchev
3bc1121b9d
Check both connection and connected flag
...
Issue: SPR-14703
9 years ago
Juergen Hoeller
f592599349
Polishing
...
(cherry picked from commit 54db496 )
9 years ago
Juergen Hoeller
03609c1518
Consistent comma splitting without regex overhead
...
Issue: SPR-14635
9 years ago
Rossen Stoyanchev
8b4f60b8e5
Support receipt on DISCONNECT with simple broker
...
Issue: SPR-14568
9 years ago
Juergen Hoeller
899ebd8ee2
Avoid collection lookups in StompCommand
...
Issue: SPR-14636
9 years ago
Juergen Hoeller
dfdfd72a3e
Polishing
...
(cherry picked from commit 430180a )
9 years ago
Juergen Hoeller
2e4a7480fc
Consistent use of JDK 7 StandardCharsets over Charset.forName
...
Issue: SPR-14492
9 years ago
Juergen Hoeller
14046575b0
Polishing
9 years ago
Juergen Hoeller
f3f691cc37
Revised assertions in StompHeaderAccessor
...
Issue: SPR-14625
9 years ago
Juergen Hoeller
c4fff6db1b
Reintroduced MessageMethodArgumentResolver default constructor
...
Issue: SPR-14616
9 years ago
Juergen Hoeller
eeeab27f1f
Polishing
...
(cherry picked from commit 35e247a )
9 years ago
Juergen Hoeller
59a24b406a
Polishing
9 years ago
Juergen Hoeller
5db449556b
Polishing
10 years ago
Juergen Hoeller
6d5af60a7c
Expose DefaultSubscriptionRegistry's cache limit through SimpleBrokerMessageHandler and MessageBrokerRegistry
...
Issue: SPR-14516
10 years ago
Juergen Hoeller
e03dea1d64
Polishing
10 years ago
Marius Grama
3635c9dbfe
Update xmlunit library to version 2.1.0
...
xmlunit 2.1.0 is the latest release for xmlunit.
Most of the xmlunit functionality used within spring-framework
was done through the xmlunit 1.x helper class
`org.custommonkey.xmlunit.XMLAssert`.
As of xmlunit 2.0.0 most of the XML comparison methods are done
through hamcrest matchers exposed by the xmlunit-matchers
library. In some cases during the migration, the matchers
had to be customized with custom `NodeMatcher` or
`DifferenceEvaluator` instances in order to keep the assertions
correct (they were performed with xmlunit 1.x previously).
Issue: SPR-14043
10 years ago
Juergen Hoeller
99be15f58b
Revise encoding steps towards use of JDK Charset and StandardCharsets
...
Issue: SPR-14492
10 years ago
Juergen Hoeller
a4743c07d4
Polishing
10 years ago
Juergen Hoeller
aaac199e8b
Consistently use constructor-based instantiation instead of Class.newInstance / BeanUtils.instantiate
...
Issue: SPR-14486
10 years ago
Juergen Hoeller
b1663585dc
MessageHeaderAccessor properly removes header even in case of null value
...
Issue: SPR-14468
10 years ago
Juergen Hoeller
a1f5fb53db
Java 8 getParameterCount() instead of getParameterTypes().length
...
Issue: SPR-13188
10 years ago
Stephane Nicoll
e4b0486c5a
Add @FunctionalInterface on candidate interfaces
...
Issue: SPR-14432
10 years ago
Sam Brannen
1391248ea6
Introduce log4j 2 for Spring's test suite
...
This commit adds a test runtime dependency on log4j 2 for every project
and migrates all log4j.properties files to log4j2-test.xml files.
Issue: SPR-14431
10 years ago
Stephane Nicoll
00d2606b00
Explicit type can be replaced by <>
...
Issue: SPR-13188
10 years ago
Juergen Hoeller
b5db5d3aac
Broadly remove deprecated core classes and methods
...
Issue: SPR-14430
10 years ago
Juergen Hoeller
51252ebbca
Avoid defensive checks against Java 8 API (java.util.Optional etc)
...
This commit also fixes broken javadoc links and code references.
Issue: SPR-13188
10 years ago
Juergen Hoeller
f6334fc62b
Aligned default Map capacity
10 years ago
Juergen Hoeller
b204437cef
Polishing
10 years ago
Juergen Hoeller
e5122d084a
Avoid wrapping in plain RuntimeException in favor of IllegalStateException
10 years ago
Juergen Hoeller
e5de7d5455
@MessageExceptionHandler matches cause as well (analogous to @ExceptionHandler )
...
Issue: SPR-14424
10 years ago
Juergen Hoeller
cfc560c4c4
Leniently accept custom DeferredResult etc subclasses for null values
...
Issue: SPR-14423
10 years ago
Rossen Stoyanchev
ebdc770ed3
Use appropriate message id header for STOMP 1.1 vs 1.2
...
Issue: SPR-14391
10 years ago