Refine null-safety in spring-expression

See gh-32475
This commit is contained in:
Sébastien Deleuze
2024-03-20 09:56:53 +01:00
parent 592f23674d
commit 2e98a8a2a4
8 changed files with 29 additions and 14 deletions

View File

@@ -463,7 +463,7 @@ public class TypeDescriptor implements Serializable {
* @see #narrow(Object)
*/
@Nullable
public TypeDescriptor getMapValueTypeDescriptor(Object mapValue) {
public TypeDescriptor getMapValueTypeDescriptor(@Nullable Object mapValue) {
return narrow(mapValue, getMapValueTypeDescriptor());
}