Add a missing comparison in Word.equals()

Follow up to I94e2e29c

bug: 6209651
Change-Id: Iff2daca8c2678e2d1796f98d6db738f109e3d03f
main
Ken Wakasa 2012-03-23 14:41:16 +09:00
parent 6ef88a8901
commit 066866954a
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}