Skip to content

Commit 1d6a9f8

Browse files
committed
redundant code removed
1 parent bdab8a0 commit 1d6a9f8

File tree

1 file changed

+1
-4
lines changed
  • visualvm/libs.profiler/lib.profiler/src/org/graalvm/visualvm/lib/jfluid/heap

1 file changed

+1
-4
lines changed

visualvm/libs.profiler/lib.profiler/src/org/graalvm/visualvm/lib/jfluid/heap/LongHashMap.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -537,11 +537,8 @@ public boolean equals(Object o) {
537537
return false;
538538
}
539539
return true;
540-
} else if (o instanceof Map) {
541-
Map m = (Map)o;
542-
return false;
543540
} else {
544-
return false; // o is not a Map
541+
return false; // o is not a LongHashMap
545542
}
546543
}
547544

0 commit comments

Comments
 (0)