aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorJatin Matani <jatinm@google.com>2014-10-10 06:29:28 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-10 06:29:28 +0000
commite78c86c5fb72a6b19c0ad2ab02ff3543c66710d2 (patch)
tree77862dd757cc3df9193223b643f8385149290377 /java
parentc986a6bec1cb7ca2b5de798074f1a92ec0eb6247 (diff)
parent701b14ffa604df48bdc5c6287c9ba296ef8a02db (diff)
downloadlatinime-e78c86c5fb72a6b19c0ad2ab02ff3543c66710d2.tar.gz
latinime-e78c86c5fb72a6b19c0ad2ab02ff3543c66710d2.tar.xz
latinime-e78c86c5fb72a6b19c0ad2ab02ff3543c66710d2.zip
am 701b14ff: Merge "Make SuggestionWordInfo non-final for testabilty"
* commit '701b14ffa604df48bdc5c6287c9ba296ef8a02db': Make SuggestionWordInfo non-final for testabilty
Diffstat (limited to 'java')
-rw-r--r--java/src/com/android/inputmethod/latin/SuggestedWords.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/SuggestedWords.java b/java/src/com/android/inputmethod/latin/SuggestedWords.java
index e0c06925c..e5bf25d5f 100644
--- a/java/src/com/android/inputmethod/latin/SuggestedWords.java
+++ b/java/src/com/android/inputmethod/latin/SuggestedWords.java
@@ -243,7 +243,8 @@ public class SuggestedWords {
return candidate.isEligibleForAutoCommit() ? candidate : null;
}
- public static final class SuggestedWordInfo {
+ // non-final for testability.
+ public static class SuggestedWordInfo {
public static final int NOT_AN_INDEX = -1;
public static final int NOT_A_CONFIDENCE = -1;
public static final int MAX_SCORE = Integer.MAX_VALUE;