Add a missing comparison in Word.equals()
Follow up to I94e2e29c bug: 6209651 Change-Id: Iff2daca8c2678e2d1796f98d6db738f109e3d03fmain
parent
6ef88a8901
commit
066866954a
|
@ -80,6 +80,7 @@ public class Word implements Comparable<Word> {
|
|||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue