diff options
author | 2013-10-03 15:37:30 -0700 | |
---|---|---|
committer | 2013-10-03 15:37:30 -0700 | |
commit | 18f70d5ffd418e305405cde27e213989fc050a5b (patch) | |
tree | bda2520f9950dcca041ce9f92aaf9d9942482a88 /java/src | |
parent | 923043b931cc52dd72dc2e7abc4cf3c43eb8be91 (diff) | |
parent | 000ce0d51d5c2bde87eecca9a2e686632dfcf463 (diff) | |
download | latinime-18f70d5ffd418e305405cde27e213989fc050a5b.tar.gz latinime-18f70d5ffd418e305405cde27e213989fc050a5b.tar.xz latinime-18f70d5ffd418e305405cde27e213989fc050a5b.zip |
am 000ce0d5: am 704ab0f6: am 781feb74: Remove unused methods.
* commit '000ce0d51d5c2bde87eecca9a2e686632dfcf463':
Remove unused methods.
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java b/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java index dc4b0a0cc..d3da068bd 100644 --- a/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java +++ b/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java @@ -660,47 +660,6 @@ abstract public class ExpandableBinaryDictionary extends Dictionary { } } - /** - * Dynamically adds a word unigram to the dictionary for testing with blocking-lock. - */ - @UsedForTesting - protected void addWordDynamicallyForTests(final String word, final String shortcutTarget, - final int frequency, final boolean isNotAWord) { - getExecutor(mFilename).executePrioritized(new Runnable() { - @Override - public void run() { - addWordDynamically(word, shortcutTarget, frequency, isNotAWord); - } - }); - } - - /** - * Dynamically adds a word bigram in the dictionary for testing with blocking-lock. - */ - @UsedForTesting - protected void addBigramDynamicallyForTests(final String word0, final String word1, - final int frequency, final boolean isValid) { - getExecutor(mFilename).executePrioritized(new Runnable() { - @Override - public void run() { - addBigramDynamically(word0, word1, frequency, isValid); - } - }); - } - - /** - * Dynamically remove a word bigram in the dictionary for testing with blocking-lock. - */ - @UsedForTesting - protected void removeBigramDynamicallyForTests(final String word0, final String word1) { - getExecutor(mFilename).executePrioritized(new Runnable() { - @Override - public void run() { - removeBigramDynamically(word0, word1); - } - }); - } - // TODO: Implement native binary methods once the dynamic dictionary implementation is done. @UsedForTesting public boolean isInDictionaryForTests(final String word) { |