From 066866954a5f13826a7eb3d317805134f82ff0aa Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Fri, 23 Mar 2012 14:41:16 +0900 Subject: [PATCH] Add a missing comparison in Word.equals() Follow up to I94e2e29c bug: 6209651 Change-Id: Iff2daca8c2678e2d1796f98d6db738f109e3d03f --- java/src/com/android/inputmethod/latin/makedict/Word.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/src/com/android/inputmethod/latin/makedict/Word.java b/java/src/com/android/inputmethod/latin/makedict/Word.java index 776b2aa97..4e0ab1049 100644 --- a/java/src/com/android/inputmethod/latin/makedict/Word.java +++ b/java/src/com/android/inputmethod/latin/makedict/Word.java @@ -80,6 +80,7 @@ public class Word implements Comparable { if (!(o instanceof Word)) return false; Word w = (Word)o; return mFrequency == w.mFrequency && mWord.equals(w.mWord) + && mIsShortcutOnly == w.mIsShortcutOnly && mShortcutTargets.equals(w.mShortcutTargets) && mBigrams.equals(w.mBigrams); }