Merge "Fix: contains() is wrongly used in hasDict()."
This commit is contained in:
commit
e581d8f8ab
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue