sonarfix: remove unnecessary boolean
This commit is contained in:
parent
b9209b212a
commit
17ca771e10
|
@ -82,10 +82,9 @@ public final class PointValuePair extends Pair<double[], Double> {
|
|||
if (o instanceof PointValuePair) {
|
||||
final PointValuePair other = (PointValuePair) o;
|
||||
|
||||
return getValue().equals(other.getValue()) ?
|
||||
return getValue().equals(other.getValue()) &&
|
||||
Arrays.equals(getPointRef(),
|
||||
other.getPointRef()) :
|
||||
false;
|
||||
other.getPointRef());
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue