aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/SuggestedWords.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-09-27 03:28:57 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-09-27 03:28:57 -0700
commit337274a01558b40135ecb1de0b4fe2b67c607958 (patch)
tree946755db07ee5808be32ae16424dee6dac4abdad /java/src/com/android/inputmethod/latin/SuggestedWords.java
parentb2c1cd08661dc400c00d2545e24e22397f06281b (diff)
parente7bdd9910141c11701751be32bfed67956a950b6 (diff)
downloadlatinime-337274a01558b40135ecb1de0b4fe2b67c607958.tar.gz
latinime-337274a01558b40135ecb1de0b4fe2b67c607958.tar.xz
latinime-337274a01558b40135ecb1de0b4fe2b67c607958.zip
am e7bdd991: am a28a05e9: Cleanup: Make some classes as final
* commit 'e7bdd9910141c11701751be32bfed67956a950b6': Cleanup: Make some classes as final
Diffstat (limited to 'java/src/com/android/inputmethod/latin/SuggestedWords.java')
-rw-r--r--java/src/com/android/inputmethod/latin/SuggestedWords.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/SuggestedWords.java b/java/src/com/android/inputmethod/latin/SuggestedWords.java
index d9f48c4a4..52e292a86 100644
--- a/java/src/com/android/inputmethod/latin/SuggestedWords.java
+++ b/java/src/com/android/inputmethod/latin/SuggestedWords.java
@@ -23,7 +23,7 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
-public class SuggestedWords {
+public final class SuggestedWords {
private static final ArrayList<SuggestedWordInfo> EMPTY_WORD_INFO_LIST =
CollectionUtils.newArrayList(0);
public static final SuggestedWords EMPTY = new SuggestedWords(
@@ -117,7 +117,7 @@ public class SuggestedWords {
return suggestionsList;
}
- public static class SuggestedWordInfo {
+ public static final class SuggestedWordInfo {
public static final int MAX_SCORE = Integer.MAX_VALUE;
public static final int KIND_TYPED = 0; // What user typed
public static final int KIND_CORRECTION = 1; // Simple correction/suggestion