aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Suggest.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2013-05-24 11:43:32 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-05-24 11:43:32 -0700
commitb9de067449292b2bc835dde4473473b291da74b0 (patch)
tree3342205f1a9c7f1631bb00e0bb443ee0cc6eb2e5 /java/src/com/android/inputmethod/latin/Suggest.java
parent6deb90211e06c39c910932ff4e889246b4e64e41 (diff)
parentebe0544fc83f0f6796e5b0a019222b727a8eb6b3 (diff)
downloadlatinime-b9de067449292b2bc835dde4473473b291da74b0.tar.gz
latinime-b9de067449292b2bc835dde4473473b291da74b0.tar.xz
latinime-b9de067449292b2bc835dde4473473b291da74b0.zip
am ebe0544f: Remove redundant method AutoCorrection.isInTheDictionary
* commit 'ebe0544fc83f0f6796e5b0a019222b727a8eb6b3': Remove redundant method AutoCorrection.isInTheDictionary
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Suggest.java')
-rw-r--r--java/src/com/android/inputmethod/latin/Suggest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/Suggest.java b/java/src/com/android/inputmethod/latin/Suggest.java
index dc9bef22a..2d1141bad 100644
--- a/java/src/com/android/inputmethod/latin/Suggest.java
+++ b/java/src/com/android/inputmethod/latin/Suggest.java
@@ -229,7 +229,7 @@ public final class Suggest {
// or if it's a 2+ characters non-word (i.e. it's not in the dictionary).
final boolean allowsToBeAutoCorrected = (null != whitelistedWord
&& !whitelistedWord.equals(consideredWord))
- || (consideredWord.length() > 1 && !AutoCorrection.isInTheDictionary(mDictionaries,
+ || (consideredWord.length() > 1 && !AutoCorrection.isValidWord(mDictionaries,
consideredWord, wordComposer.isFirstCharCapitalized()));
final boolean hasAutoCorrection;