commit | e581d8f8abc55dcf224678c73c7ce834170ee5e6 | [log] [tgz] |
---|---|---|
author | Keisuke Kuroyanagi <ksk@google.com> | Fri Apr 25 07:58:19 2014 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Apr 25 07:58:19 2014 +0000 |
tree | 8fce3bf7f9531f710976485d8d61dc8d4b876e96 | |
parent | 1ed248dc2f5baae93c6ad01812dfc97e81e3db32 [diff] | |
parent | bdf31fb75e521ba9d3f9a259e6928123fc546dda [diff] |
Merge "Fix: contains() is wrongly used in hasDict()."
diff --git a/java/src/com/android/inputmethod/latin/DictionaryFacilitatorForSuggest.java b/java/src/com/android/inputmethod/latin/DictionaryFacilitatorForSuggest.java index 00b9f53..6482feb 100644 --- a/java/src/com/android/inputmethod/latin/DictionaryFacilitatorForSuggest.java +++ b/java/src/com/android/inputmethod/latin/DictionaryFacilitatorForSuggest.java
@@ -122,7 +122,7 @@ } public boolean hasDict(final String dictType) { - return mDictMap.contains(dictType); + return mDictMap.containsKey(dictType); } public void closeDict(final String dictType) {