Fix: contains() is wrongly used in hasDict().
Change-Id: I4699b1b75fed9dd479f5135f0a7a2dd098e6f798main
parent
93f4aec07c
commit
bdf31fb75e
|
@ -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