mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Address nullness warning from future version of NullAway
Closes gh-36548 Signed-off-by: Manu Sridharan <msridhar@gmail.com>
This commit is contained in:
committed by
Sébastien Deleuze
parent
14466eef4c
commit
f5a8c321c0
+1
-1
@@ -823,7 +823,7 @@ public abstract class AnnotatedElementUtils {
|
||||
return MergedAnnotations.from(element, SearchStrategy.TYPE_HIERARCHY, repeatableContainers);
|
||||
}
|
||||
|
||||
private static @Nullable MultiValueMap<String, Object> nullIfEmpty(MultiValueMap<String, Object> map) {
|
||||
private static @Nullable MultiValueMap<String, @Nullable Object> nullIfEmpty(MultiValueMap<String, @Nullable Object> map) {
|
||||
return (map.isEmpty() ? null : map);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user