diff options
author | 2012-03-13 19:54:56 +0900 | |
---|---|---|
committer | 2012-03-13 19:54:56 +0900 | |
commit | bd4ba23d2b661094d3bd32ee3ef9965775c7d859 (patch) | |
tree | 49d3a15211b956e3113b253c603d656393707954 /java/src/com/android/inputmethod/latin/SuggestedWords.java | |
parent | b5eeb724fc98bb7169683539027d9ba54ffb8b14 (diff) | |
download | latinime-bd4ba23d2b661094d3bd32ee3ef9965775c7d859.tar.gz latinime-bd4ba23d2b661094d3bd32ee3ef9965775c7d859.tar.xz latinime-bd4ba23d2b661094d3bd32ee3ef9965775c7d859.zip |
Some code reorganization.
Use the same local variable inside both branches of an if.
Change-Id: I61f7d506d984f3723ec90604416d1875dd97cd8c
Diffstat (limited to 'java/src/com/android/inputmethod/latin/SuggestedWords.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/SuggestedWords.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/SuggestedWords.java b/java/src/com/android/inputmethod/latin/SuggestedWords.java index d41f84798..f62e99cac 100644 --- a/java/src/com/android/inputmethod/latin/SuggestedWords.java +++ b/java/src/com/android/inputmethod/latin/SuggestedWords.java @@ -88,7 +88,7 @@ public class SuggestedWords { mIsPunctuationSuggestions = isPunctuationSuggestions; } - public static List<SuggestedWordInfo> getFromCharSequenceList( + public static ArrayList<SuggestedWordInfo> getFromCharSequenceList( final List<CharSequence> wordList) { final ArrayList<SuggestedWordInfo> result = new ArrayList<SuggestedWordInfo>(); for (CharSequence word : wordList) { |