sonarfix: remove unnecessary boolean

This commit is contained in:
aherbert 2022-10-13 17:43:00 +01:00
parent b9209b212a
commit 17ca771e10
1 changed files with 2 additions and 3 deletions

View File

@ -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;