Olga MaciaszekSharma
eebdff23e7
Fix supportsRequestAttributes for RestClientAdapter
...
Previously, RestClientAdapter claimed that it supports request
attributes when, in fact, it does not. This commit updates the
implementation accordingly.
See gh-32232
2 years ago
Juergen Hoeller
a2000dba33
Leniently accept tasks after context close in lifecycle stop phase
...
Schedulers remain strict, just plain executors are lenient on shutdown now.
An early shutdown for executors can be enforced via setStrictEarlyShutdown.
Closes gh-32226
2 years ago
Sam Brannen
4a3ef3e24a
Document safe navigation semantics within compound expressions in SpEL
...
Closes gh-21827
2 years ago
Sam Brannen
4a5dc7c1b0
Document null-safe collection selection/projection support in SpEL
...
Closes gh-32208
2 years ago
Sam Brannen
347d085020
Polishing
2 years ago
Sam Brannen
f295def2a8
Include function name in SpelMessage.INCORRECT_NUMBER_OF_ARGUMENTS_TO_FUNCTION
...
Closes gh-32239
2 years ago
Sam Brannen
dc2dbd9700
Polishing
2 years ago
Sam Brannen
6b67972ec4
Polishing
2 years ago
Sam Brannen
64fc9ee301
Test function registration with SimpleEvaluationContext
2 years ago
Sam Brannen
ce43d1b1da
Simplify logic in ApplicationContextAwareProcessor.postProcessBeforeInitialization()
2 years ago
Sam Brannen
dc73ec76fc
Address TODOs in SpEL's Indexer
...
This commit deletes outdated TODOs and addresses a remaining "current"
TODO in SpEL's Indexer.
2 years ago
Sam Brannen
888e50175d
Polish SpEL Javadocs and internals
2 years ago
Sam Brannen
1080c145e3
Polish ApplicationContextAwareProcessor
2 years ago
Stéphane Nicoll
f726e806cd
Merge pull request #32236 from spencergibb
...
* pr/32236:
Polish "Fixes syntax error in JdbcClient examples"
Fixes syntax error in JdbcClient examples
Closes gh-32236
2 years ago
Stéphane Nicoll
b1f6401e4f
Polish "Fixes syntax error in JdbcClient examples"
...
See gh-32236
2 years ago
Spencer Gibb
169b9abeef
Fixes syntax error in JdbcClient examples
...
See gh-32236
2 years ago
Sam Brannen
e72b523995
Polish SpEL support
2 years ago
Sébastien Deleuze
99bdc4211d
Add Coroutines support to NonReactiveHandlerMethodPredicate
...
Closes gh-32227
2 years ago
Stéphane Nicoll
d47c69746b
Upgrade CI to Ubuntu Jammy 20240125
2 years ago
Sam Brannen
052bbcc530
Cache parameter types array in ClassUtils.findInterfaceMethodIfPossible()
2 years ago
Arjen Poutsma
f9791664ef
Implement MatchableHandlerMapping in RouterFunctionMapping
...
Closes gh-32221
2 years ago
Arjen Poutsma
af44b3e6c0
Fix delegation in ServerRequest decorators
...
Closes gh-31955
2 years ago
John Gesimondo
2724c6d8fe
Update beanvalidation.adoc
...
FieldErrro to FieldError
2 years ago
anil.senocak
f7e5c9fbb2
In Kotlin variables should be defined as val or var. "mockMvc" was not defined properly
2 years ago
Patrick Strawderman
4486ab1cb7
Initialize Map with correct size in RequestPredicates
...
Fix another instance where a LinkedHashMap was initialized with an initial
capacity that would always cause a resize / rehash to occur. Switch to
CollectionUtils.newLinkedHashMap to size the map appropiately for the expected
number of items.
Closes gh-32215
2 years ago
Sam Brannen
78c96b6d78
Fix SpEL collection selection/projection examples in reference manual
...
This commit also updates and polishes the documentation tests.
2 years ago
Sam Brannen
43bbe8f3e8
Add tests for collection selection with Iterables
2 years ago
Sam Brannen
7d612e8958
Polishing
2 years ago
Sam Brannen
9a38355896
Improve tests for indexing and collection selection/projection in SpEL
2 years ago
Juergen Hoeller
3ecbc4de13
Polishing
2 years ago
Juergen Hoeller
81c156eefb
Replace public hasRestTemplateDefaults() method with hasBaseUri()
...
See gh-32180
2 years ago
Juergen Hoeller
d8c4a33bea
Upgrade to SLF4J 2.0.12, Jetty 12.0.6, Apache HttpClient 5.3.1, OpenPDF 1.3.39, Mockito 5.10, Checkstyle 10.13
2 years ago
Juergen Hoeller
cfa47fa4fb
Polishing
2 years ago
Juergen Hoeller
80949eb30f
Store known attribute names in session (for distributed sessions)
...
Closes gh-30463
2 years ago
Juergen Hoeller
4ed337247c
Avoid sendError call when response committed already (Tomcat 10.1.16)
...
Closes gh-32206
2 years ago
Sam Brannen
81cdfafa78
Polishing
2 years ago
Patrick Strawderman
d5cb1d9adb
Initialize Map with correct size in RequestPredicates
...
Prior to this commit, the `RequestPredicates` would add new attributes
to the existing request attributes by creating a new `LinkedHashMap`
with the total number of elements as its new initial capacity.
This would not achieve optimal performance as initial resize or rehash
operations could be expected. Consistently using
`CollectionUtils#newLinkedHashMap` avoids this problem.
Closes gh-32201
2 years ago
Juergen Hoeller
9698dbc232
Add javadoc and rename merge method to mergeProperties
...
See gh-32118
2 years ago
Stéphane Nicoll
9c15b3fa4c
Upgrade to AssertJ 3.25.3
2 years ago
Andrei Bastun
c559ec4dfb
Refactor ReloadableResourceBundleMessageSource
...
This change allows subclasses to reuse collecting and merging
algorithm when overriding getMergedProperties method.
2 years ago
Juergen Hoeller
341ac76209
Rely on HashSet for uniqueness of mapped names
...
See gh-32199
2 years ago
Juergen Hoeller
8ff102115a
Let BeanPropertyRowMapper subclasses customize mapped names
...
Closes gh-32199
2 years ago
Brian Clozel
f50a262cf2
Polish
...
See gh-32189
2 years ago
Arjen Poutsma
c570f3b2da
Fix off-by-one error in PartEvent part count
...
This commit fixes an off-by-one error in the
PartEventHttpMessageReader, so that it no longer counts empty windows.
Closes gh-32122
2 years ago
Patrick Strawderman
0fdf759896
Optimize Map methods in ServletAttributesMap
...
ServletAttributesMap inherited default implementations of the size
and isEmpty methods from AbstractMap which delegates to the Set returned
by entrySet. ServletAttributesMap's entrySet method made this fairly
expensive, since it would copy the attributes to a List, then use a
Stream to build the Set. To avoid the cost, add implementations of
isEmpty / size that don't need to call entrySet at all.
Additionally, change entrySet to return a Set view that simply lazily
delegates to the underlying servlet request for iteration.
Closes gh-32189
2 years ago
Stéphane Nicoll
c04d4da9a3
Polish
2 years ago
Sam Brannen
b737f36f39
Upgrade to JUnit 5.10.2
2 years ago
Stéphane Nicoll
8d601384d3
Upgrade to Gradle 8.6
...
Closes gh-32192
2 years ago
Stéphane Nicoll
ea52ecc5e0
Polish
2 years ago
Sam Brannen
9b5febea20
Document SpEL limitations for minimum values for numeric literals
...
Closes gh-20779
2 years ago