Skip to content

Commit 4fa3f59

Browse files
committed
Address nullness warning from future version of NullAway
Signed-off-by: Manu Sridharan <msridhar@gmail.com>
1 parent 82a9d66 commit 4fa3f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-core/src/main/java/org/springframework/core/annotation/AnnotatedElementUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ private static MergedAnnotations findRepeatableAnnotations(AnnotatedElement elem
823823
return MergedAnnotations.from(element, SearchStrategy.TYPE_HIERARCHY, repeatableContainers);
824824
}
825825

826-
private static @Nullable MultiValueMap<String, Object> nullIfEmpty(MultiValueMap<String, Object> map) {
826+
private static @Nullable MultiValueMap<String, @Nullable Object> nullIfEmpty(MultiValueMap<String, @Nullable Object> map) {
827827
return (map.isEmpty() ? null : map);
828828
}
829829

0 commit comments

Comments
 (0)