diff --git a/src/main/java/org/apache/commons/math3/util/Pair.java b/src/main/java/org/apache/commons/math3/util/Pair.java index 44c2cc093..6d4e1bd4a 100644 --- a/src/main/java/org/apache/commons/math3/util/Pair.java +++ b/src/main/java/org/apache/commons/math3/util/Pair.java @@ -83,9 +83,6 @@ public class Pair { */ @Override public boolean equals(Object o) { - if (o == null) { - return false; - } if (!(o instanceof Pair)) { return false; } else {