mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-30 19:29:02 +00:00
Annotate Object#equals parameter with @nullable
See gh-23093 Co-authored-by: Sebastien Deleuze <sdeleuze@pivotal.io>
This commit is contained in:
co-authored by
Sebastien Deleuze
parent
c8f20815ef
commit
d09f537699
@@ -273,7 +273,7 @@ public class LinkedCaseInsensitiveMap<V> implements Map<String, V>, Serializable
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
public boolean equals(@Nullable Object obj) {
|
||||
return this.targetMap.equals(obj);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user