We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6b963b commit a17e6aaCopy full SHA for a17e6aa
1 file changed
base/src/main/java/com/smartdevicelink/managers/screen/SoftButtonObject.java
@@ -331,9 +331,8 @@ public int hashCode() {
331
int result = 1;
332
result += ((getName() == null) ? 0 : Integer.rotateLeft(getName().hashCode(), 1));
333
result += ((getCurrentStateName() == null) ? 0 : Integer.rotateLeft(getCurrentStateName().hashCode(), 2));
334
- result += Integer.rotateLeft(Integer.valueOf(getButtonId()).hashCode(), 3);
335
for (int i = 0; i < this.states.size(); i++) {
336
- result += ((getStates().get(i) == null) ? 0 : Integer.rotateLeft(getStates().get(i).hashCode(), i + 4));
+ result += ((getStates().get(i) == null) ? 0 : Integer.rotateLeft(getStates().get(i).hashCode(), i + 3));
337
}
338
return result;
339
0 commit comments