am d2e566f9
: Fix unit tests by adding @UsedForTesting.
* commit 'd2e566f9991e2a3540935a7e38d01dd4f65fd42b': Fix unit tests by adding @UsedForTesting.
This commit is contained in:
commit
cebcdf9b71
1 changed files with 1 additions and 0 deletions
|
@ -362,6 +362,7 @@ abstract public class ExpandableBinaryDictionary extends Dictionary {
|
||||||
/**
|
/**
|
||||||
* Dynamically remove the n-gram entry in the dictionary.
|
* Dynamically remove the n-gram entry in the dictionary.
|
||||||
*/
|
*/
|
||||||
|
@UsedForTesting
|
||||||
public void removeNgramDynamically(final PrevWordsInfo prevWordsInfo, final String word) {
|
public void removeNgramDynamically(final PrevWordsInfo prevWordsInfo, final String word) {
|
||||||
reloadDictionaryIfRequired();
|
reloadDictionaryIfRequired();
|
||||||
asyncExecuteTaskWithWriteLock(new Runnable() {
|
asyncExecuteTaskWithWriteLock(new Runnable() {
|
||||||
|
|
Loading…
Reference in a new issue