Merge "Fix: contains() is wrongly used in hasDict()."
commit
e581d8f8ab
|
@ -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 New Issue