Sébastien Deleuze
5b660da52d
Perform NullAway build-time checks in more modules
...
This commit enables null-safety build-time checks in:
- spring-jdbc
- spring-r2dbc
- spring-orm
- spring-beans
- spring-aop
See gh-32475
2 years ago
Sébastien Deleuze
3b4f8dbb8e
Merge branch '6.1.x'
2 years ago
Sébastien Deleuze
1b563f8ba4
Refine null-safety in more modules
...
This commit refines the null-safety in:
- spring-jdbc
- spring-r2dbc
- spring-orm
- spring-beans
- spring-aop
See gh-32475
2 years ago
Sam Brannen
4b0a048570
Polish SpEL internals and remove duplicate code
2 years ago
Sam Brannen
57632f9f08
Fix wording in SpEL's PropertyAccessor Javadoc
...
The documentation now properly refers to "property accessors" instead
of "resolvers".
2 years ago
Sébastien Deleuze
7c009ccc1f
Perform NullAway build-time checks in spring-messaging
...
See gh-32475
2 years ago
Sébastien Deleuze
f421f38e24
Merge branch '6.1.x'
2 years ago
Sébastien Deleuze
dea31dd55e
Refine null-safety in spring-messaging
...
See gh-32475
2 years ago
Sébastien Deleuze
88e26a9570
Merge branch '6.1.x'
2 years ago
Sébastien Deleuze
06b91c4ea5
Refine null-safety in spring-jms
...
See gh-32475
2 years ago
Sébastien Deleuze
2fc78dfb69
Perform NullAway build-time checks in spring-jms
...
See gh-32475
2 years ago
Sébastien Deleuze
e52ee01ec8
Perform NullAway build-time checks in spring-web
...
Also in spring-websocket.
See gh-32475
2 years ago
Sébastien Deleuze
2b1eb488fc
Merge branch '6.1.x'
2 years ago
Sébastien Deleuze
a63ebe7e9d
Refine null-safety in spring-web and spring-websocket
...
See gh-32475
2 years ago
Sam Brannen
5bec072dcb
Polish SpEL internals
2 years ago
Stéphane Nicoll
8736ca038a
Merge branch '6.1.x'
2 years ago
Stéphane Nicoll
c4b615052e
Merge pull request #32517 from izeye
...
* pr/32517:
Add Javadoc since to KotlinSerializationStringEncoder.setStreamingMediaTypes()
Closes gh-32517
2 years ago
Johnny Lim
dca5f1dcd8
Add Javadoc since to KotlinSerializationStringEncoder.setStreamingMediaTypes()
...
See gh-32517
2 years ago
Stéphane Nicoll
aa9f0b3cb2
Merge pull request #32524 from izeye
...
* pr/32524:
Fix Javadoc since to ChannelRegistration.executor()
Closes gh-32524
2 years ago
Johnny Lim
56b14dc54a
Fix Javadoc since to ChannelRegistration.executor()
...
See gh-32524
2 years ago
Sam Brannen
2a74fe5ddb
Introduce null-safe index operator in SpEL
...
This set of commits introduces support for a null-safe operator in the
Spring Expression Language (SpEL), including support for compiling
expressions that use the null-safe index operator.
Note, however, that compilation is not supported for null-safe indexing
into a String or any kind of Collection (other than a List).
See gh-21468
Closes gh-29847
2 years ago
Sam Brannen
218a148898
Document null-safe index operator in SpEL
...
See gh-29847
2 years ago
Sam Brannen
38c473fd05
Support compilation of null-safe index operations in SpEL
...
See gh-29847
2 years ago
Sam Brannen
d2bd0d5716
Retain null-safe syntax in AST representation of SpEL indexers
...
Prior to this commit, SpEL's CompoundExpression omitted the null-safe
syntax in AST string representations of indexing operations.
To address this, this commit implements isNullSafe() in Indexer.
See gh-29847
2 years ago
Sam Brannen
4d433174eb
Revise null-safe index operator support in SpEL
...
See gh-29847
2 years ago
Grigory Stepanov
9f4d46fe33
Introduce null-safe index operator in SpEL
...
See gh-29847
2 years ago
Sam Brannen
2a1abb5553
Simplify compilation of array indexing in SpEL's Indexer
2 years ago
Sam Brannen
7edd4e8e22
Clean up warnings in Gradle build
2 years ago
Felix
05b15812bb
Apply instanceof pattern matching in RootBeanDefinition
...
Closes gh-32520
2 years ago
Sébastien Deleuze
0e7aba4179
Perform NullAway build-time checks in spring-webmvc
...
See gh-32475
2 years ago
Sébastien Deleuze
cf8810042a
Merge branch '6.1.x'
2 years ago
Sébastien Deleuze
a16e8c34b2
Refine null-safety in spring-webmvc
...
See gh-32475
2 years ago
Sam Brannen
88bc3f270e
Merge branch '6.1.x'
2 years ago
Sam Brannen
52b8c71dcd
Retain null-safe syntax in AST representation of selection & projection
...
Prior to this commit, SpEL's CompoundExpression omitted the null-safe
syntax in AST string representations of the selection and projection
operators.
To address this, this commit implements isNullSafe() in Projection and
Selection.
Closes gh-32515
2 years ago
Sam Brannen
b695dbc2bf
Merge branch '6.1.x'
2 years ago
Sam Brannen
f941754db6
Introduce isNullSafe() in SpelNodeImpl
...
Prior to this commit, MethodReference and PropertyOrFieldReference
already defined local isNullSafe() methods, but we need identical
methods in Selection, Projection, and Indexer, and we may potentially
need null-safe support for additional operators in the future.
To address the common need for an is-null-safe check, this commit
introduces an isNullSafe() method in SpelNodeImpl with a default
implementation that returns false.
Closes gh-32516
2 years ago
Sam Brannen
d4495a5654
Revise PropertyOrFieldReference since isNullSafe() is not final
2 years ago
Stéphane Nicoll
cf4ac96688
Merge branch '6.1.x'
2 years ago
Stéphane Nicoll
c7c61e13e1
Merge pull request #32514 from izeye
...
* pr/32514:
Apply UnnecessarySemicolonInEnumeration Checkstyle module
Closes gh-32514
2 years ago
Johnny Lim
4d722414da
Apply UnnecessarySemicolonInEnumeration Checkstyle module
...
This commit also fixes its violation.
See gh-32514
2 years ago
Sébastien Deleuze
0a50854e1a
Perform NullAway build-time checks in spring-webflux
...
See gh-32475
2 years ago
Sébastien Deleuze
637aa9f71f
Merge branch '6.1.x'
2 years ago
Sébastien Deleuze
87dfa492af
Refine null-safety in spring-webflux
...
See gh-32475
2 years ago
Sébastien Deleuze
cf9033a60d
Polishing
2 years ago
Sébastien Deleuze
b1b9ee0ccf
Merge branch '6.1.x'
2 years ago
Sébastien Deleuze
1e80694daf
Fix a regression with Kotlin generic controllers
...
This commit reintroduces a more defensive parameter type check that
skips KClass casting for generic parameters.
Closes gh-32510
2 years ago
Sam Brannen
a30c06b883
Polishing and consistent use of exception assertions
2 years ago
Andrea Mauro
458c30cb63
Resolve property-dependent parameter names for exception messages
...
Prior to this commit when a required parameter defined as a property or
expression placeholder was missing, the exception thrown would refer to
the placeholder instead of the resolved name.
This change covers messaging handlers and web controllers, both blocking
and reactive. It also fixes the error message when handling null values
for non-required parameters, as well as in cases that need conversion.
See gh-32323
Closes gh-32462
2 years ago
Sam Brannen
5698191ba0
Rename listener to CommonCachesTestExecutionListener
...
See gh-30954
2 years ago
Sam Brannen
7d197972e0
Polishing
2 years ago