-
Enhancement
-
Resolution: Fixed
-
P4
-
17
-
b15
SonarCloud reports the problem in ComponentSampleModel.equals:
Correct one of the identical sub-expressions on both sides of operator "&&"
...near "this.numBands == that.numBands". It is checked twice. hashCode also processes it twice.
Correct one of the identical sub-expressions on both sides of operator "&&"
...near "this.numBands == that.numBands". It is checked twice. hashCode also processes it twice.
- relates to
-
JDK-4430788 SampleModel/ColorModel classes should implement equals(), hashCode()
-
- Resolved
-