Address nullness warning from future version of NullAway

Closes gh-36548
Signed-off-by: Manu Sridharan <msridhar@gmail.com>
This commit is contained in:
Manu Sridharan
2026-03-26 15:44:12 -07:00
committed by Sébastien Deleuze
parent 14466eef4c
commit f5a8c321c0
@@ -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);
}