am 701b14ff
: Merge "Make SuggestionWordInfo non-final for testabilty"
* commit '701b14ffa604df48bdc5c6287c9ba296ef8a02db': Make SuggestionWordInfo non-final for testabilty
This commit is contained in:
commit
e78c86c5fb
1 changed files with 2 additions and 1 deletions
|
@ -243,7 +243,8 @@ public class SuggestedWords {
|
||||||
return candidate.isEligibleForAutoCommit() ? candidate : null;
|
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_AN_INDEX = -1;
|
||||||
public static final int NOT_A_CONFIDENCE = -1;
|
public static final int NOT_A_CONFIDENCE = -1;
|
||||||
public static final int MAX_SCORE = Integer.MAX_VALUE;
|
public static final int MAX_SCORE = Integer.MAX_VALUE;
|
||||||
|
|
Loading…
Reference in a new issue