Skip to content

Commit 8d560e7

Browse files
committed
spotbugs again
Signed-off-by: Lukas Kral <[email protected]>
1 parent 39bc29f commit 8d560e7

File tree

1 file changed

+7
-5
lines changed
  • operator-common/src/main/java/io/strimzi/operator/common/featuregates

1 file changed

+7
-5
lines changed

operator-common/src/main/java/io/strimzi/operator/common/featuregates/FeatureGates.java

+7-5
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,14 @@ public boolean equals(Object o) {
124124
return true;
125125
} else if (o == null || getClass() != o.getClass()) {
126126
return false;
127-
} else {
128-
FeatureGates other = (FeatureGates) o;
129-
return other instanceof FeatureGates;
130-
// TODO: Once we have new FeatureGate, we should implement the equals method (below is example)
131-
// return Objects.equals(continueOnManualRUFailure, other.continueOnManualRUFailure);
132127
}
128+
// TODO: Once we have new FeatureGate, we should implement the equals method (below is example)
129+
// else {
130+
// FeatureGates other = (FeatureGates) o;
131+
// return Objects.equals(continueOnManualRUFailure, other.continueOnManualRUFailure);
132+
// }
133+
134+
return true;
133135
}
134136

135137
@Override

0 commit comments

Comments
 (0)