Redundant check for null; null is not an instanceof any Object

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1336981 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2012-05-11 00:32:27 +00:00
parent 49a950d28c
commit 7d9357dfda
1 changed files with 0 additions and 3 deletions

View File

@ -83,9 +83,6 @@ public class Pair<K, V> {
*/ */
@Override @Override
public boolean equals(Object o) { public boolean equals(Object o) {
if (o == null) {
return false;
}
if (!(o instanceof Pair)) { if (!(o instanceof Pair)) {
return false; return false;
} else { } else {