We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26cd635 commit 53b4358Copy full SHA for 53b4358
kernel/src/main/java/com/itextpdf/kernel/colors/Color.java
@@ -256,7 +256,7 @@ public boolean equals(Object o) {
256
*/
257
@Override
258
public int hashCode() {
259
- int result = colorSpace != null ? colorSpace.hashCode() : 0;
+ int result = colorSpace != null ? colorSpace.getPdfObject().hashCode() : 0;
260
result = 31 * result + (colorValue != null ? Arrays.hashCode(colorValue) : 0);
261
return result;
262
}
0 commit comments