1
0

Remove useless null-check.

This commit is contained in:
Gary Gregory
2020-11-20 17:26:01 -05:00
parent 5063d23875
commit 8b539bdf23

View File

@@ -362,7 +362,7 @@ public final class WeakHashtable extends Hashtable {
public boolean equals(Object o) {
boolean result = false;
if (o != null && o instanceof Map.Entry) {
if (o instanceof Map.Entry) {
Map.Entry entry = (Map.Entry) o;
result = (getKey()==null ?
entry.getKey() == null :