Skip to content

Commit 6ff36ac

Browse files
Update ChoiceCell.hashCode() to use SdlFile.hashCode()
1 parent d0ab2b7 commit 6ff36ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • base/src/main/java/com/smartdevicelink/managers/screen/choiceset

base/src/main/java/com/smartdevicelink/managers/screen/choiceset/ChoiceCell.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public int hashCode() {
225225
result += ((getSecondaryText() == null) ? 0 : Integer.rotateLeft(getSecondaryText().hashCode(), 2));
226226
result += ((getTertiaryText() == null) ? 0 : Integer.rotateLeft(getTertiaryText().hashCode(), 3));
227227
result += ((getArtwork() == null) ? 0 : Integer.rotateLeft(getArtwork().hashCode(), 4));
228-
result += ((getSecondaryArtwork() == null || getSecondaryArtwork().getName() == null) ? 0 : Integer.rotateLeft(getSecondaryArtwork().getName().hashCode(), 5));
228+
result += ((getSecondaryArtwork() == null) ? 0 : Integer.rotateLeft(getSecondaryArtwork().hashCode(), 5));
229229
result += ((getVoiceCommands() == null) ? 0 : Integer.rotateLeft(getVoiceCommands().hashCode(), 6));
230230
return result;
231231
}

0 commit comments

Comments
 (0)