mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Make SuggestionWordInfo non-final for testabilty"
This commit is contained in:
commit
701b14ffa6
@ -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…
x
Reference in New Issue
Block a user