Merge "Fix: contains() is wrongly used in hasDict()."

This commit is contained in:
Keisuke Kuroyanagi 2014-04-25 07:58:19 +00:00 committed by Android (Google) Code Review
commit e581d8f8ab

View file

@ -122,7 +122,7 @@ public class DictionaryFacilitatorForSuggest {
} }
public boolean hasDict(final String dictType) { public boolean hasDict(final String dictType) {
return mDictMap.contains(dictType); return mDictMap.containsKey(dictType);
} }
public void closeDict(final String dictType) { public void closeDict(final String dictType) {