diff options
author | 2012-03-08 21:00:04 +0900 | |
---|---|---|
committer | 2012-03-09 11:10:55 +0900 | |
commit | caae6df0ced5f98c68302d9f9228238e3e6af32c (patch) | |
tree | 47a016271cbce81e1d466825ede28ce7acede721 /java/src | |
parent | 7b77c683d7de842ede62800125f6ba2370e86a19 (diff) | |
download | latinime-caae6df0ced5f98c68302d9f9228238e3e6af32c.tar.gz latinime-caae6df0ced5f98c68302d9f9228238e3e6af32c.tar.xz latinime-caae6df0ced5f98c68302d9f9228238e3e6af32c.zip |
Remove an unused method
Who would have guessed this wasn't being called at all.
Change-Id: Ib74a212356ea44e9bf149619ed5464c14684a1ba
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/Suggest.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/java/src/com/android/inputmethod/latin/Suggest.java b/java/src/com/android/inputmethod/latin/Suggest.java index 671fb905d..4c0f67270 100644 --- a/java/src/com/android/inputmethod/latin/Suggest.java +++ b/java/src/com/android/inputmethod/latin/Suggest.java @@ -240,20 +240,6 @@ public class Suggest implements Dictionary.WordCallback { StringBuilderPool.ensureCapacity(mPrefMaxSuggestions, getApproxMaxWordLength()); } - /** - * Returns a object which represents suggested words that match the list of character codes - * passed in. This object contents will be overwritten the next time this function is called. - * @param wordComposer contains what is currently being typed - * @param prevWordForBigram previous word (used only for bigram) - * @return suggested words object. - */ - public SuggestedWords getSuggestions(final WordComposer wordComposer, - final CharSequence prevWordForBigram, final ProximityInfo proximityInfo, - final int correctionMode) { - return getSuggestedWordBuilder(wordComposer, prevWordForBigram, - proximityInfo, correctionMode).build(); - } - private CharSequence capitalizeWord(boolean all, boolean first, CharSequence word) { if (TextUtils.isEmpty(word) || !(all || first)) return word; final int wordLength = word.length(); |