Details
-
Type:
Enhancement
-
Status: Resolved
-
Priority:
P4
-
Resolution: Fixed
-
Affects Version/s: 17
-
Fix Version/s: 17
-
Component/s: client-libs
-
Labels:
-
Subcomponent:
-
Resolved In Build:b15
Description
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.
Attachments
Issue Links
- relates to
-
JDK-4430788 SampleModel/ColorModel classes should implement equals(), hashCode()
-
- Resolved
-