aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/SuggestedWords.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-03-14 15:59:04 +0900
committerJean Chalard <jchalard@google.com>2012-03-14 15:59:04 +0900
commitbdf6d1b18b3cebdde5f39d10066ead34be161baf (patch)
treefb68db44f68765de5f71c4110af70736615eaffc /java/src/com/android/inputmethod/latin/SuggestedWords.java
parenteda7d8af60e28ff5f949a267ede8f1a553f8a067 (diff)
downloadlatinime-bdf6d1b18b3cebdde5f39d10066ead34be161baf.tar.gz
latinime-bdf6d1b18b3cebdde5f39d10066ead34be161baf.tar.xz
latinime-bdf6d1b18b3cebdde5f39d10066ead34be161baf.zip
Remove a useless method
Change-Id: I208dd2e725e37c2fb3cd51fe48194679e5912f6b
Diffstat (limited to 'java/src/com/android/inputmethod/latin/SuggestedWords.java')
-rw-r--r--java/src/com/android/inputmethod/latin/SuggestedWords.java17
1 files changed, 1 insertions, 16 deletions
diff --git a/java/src/com/android/inputmethod/latin/SuggestedWords.java b/java/src/com/android/inputmethod/latin/SuggestedWords.java
index 60b55f58e..7ce1049d7 100644
--- a/java/src/com/android/inputmethod/latin/SuggestedWords.java
+++ b/java/src/com/android/inputmethod/latin/SuggestedWords.java
@@ -33,7 +33,7 @@ public class SuggestedWords {
public final boolean mAllowsToBeAutoCorrected;
private final List<SuggestedWordInfo> mSuggestedWordInfoList;
- private SuggestedWords(final List<SuggestedWordInfo> suggestedWordInfoList,
+ public SuggestedWords(final List<SuggestedWordInfo> suggestedWordInfoList,
final boolean typedWordValid,
final boolean hasAutoCorrectionCandidate,
final boolean allowsToBeAutoCorrected,
@@ -76,21 +76,6 @@ public class SuggestedWords {
+ " mIsPunctuationSuggestions=" + mIsPunctuationSuggestions;
}
- public static SuggestedWords getSuggestedWords(
- final List<SuggestedWordInfo> suggestedWordInfoList,
- final boolean typedWordValid,
- final boolean hasMinimalSuggestion,
- final boolean allowsToBeAutoCorrected,
- final boolean isPunctuationSuggestions,
- final boolean shouldBlockAutoCorrectionBySafetyNet) {
- return new SuggestedWords(suggestedWordInfoList,
- typedWordValid,
- hasMinimalSuggestion,
- allowsToBeAutoCorrected,
- isPunctuationSuggestions,
- shouldBlockAutoCorrectionBySafetyNet);
- }
-
public static ArrayList<SuggestedWordInfo> getFromCharSequenceList(
final List<CharSequence> wordList) {
final ArrayList<SuggestedWordInfo> result = new ArrayList<SuggestedWordInfo>();