Skip to content
Snippets Groups Projects
Commit 3fbe459f authored by Jatin Matani's avatar Jatin Matani
Browse files

Make SuggestionWordInfo non-final for testabilty

Needed for ag/563043
Bug:17731683
Change-Id: I4d19e512a311547204f7e8d7885fc886757a18b7
parent 37ba3ddd
No related branches found
No related tags found
No related merge requests found
...@@ -230,7 +230,8 @@ public class SuggestedWords { ...@@ -230,7 +230,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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment