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 8ad8dab commit ccfd456Copy full SHA for ccfd456
java/client/src/org/openqa/selenium/support/Color.java
@@ -114,9 +114,9 @@ public boolean equals(Object other) {
114
public int hashCode() {
115
int result;
116
long temp;
117
- result = (int) red;
118
- result = 31 * result + (int) green;
119
- result = 31 * result + (int) blue;
+ result = red;
+ result = 31 * result + green;
+ result = 31 * result + blue;
120
temp = alpha != +0.0d ? Double.doubleToLongBits(alpha) : 0L;
121
result = 31 * result + (int) (temp ^ (temp >>> 32));
122
return result;
0 commit comments