diff options
author | 2012-10-03 17:36:45 +0900 | |
---|---|---|
committer | 2012-10-22 11:18:43 -0700 | |
commit | 15f6d4ae34664ea3d92827a2c3003198c0bac70b (patch) | |
tree | 310fc437a995e70b5d7c0723e7edab716c27b77b /java/src/com/android/inputmethod/latin/BinaryDictionary.java | |
parent | 243c1fecc61f4cf0a5fda3143987902f0bf4fa9d (diff) | |
download | latinime-15f6d4ae34664ea3d92827a2c3003198c0bac70b.tar.gz latinime-15f6d4ae34664ea3d92827a2c3003198c0bac70b.tar.xz latinime-15f6d4ae34664ea3d92827a2c3003198c0bac70b.zip |
Add @UsedForTesting and @ExternallyReferenced annotations
Bug: 7268357
Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
Diffstat (limited to 'java/src/com/android/inputmethod/latin/BinaryDictionary.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/BinaryDictionary.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/BinaryDictionary.java b/java/src/com/android/inputmethod/latin/BinaryDictionary.java index 9c48aa1a4..8c005f0e6 100644 --- a/java/src/com/android/inputmethod/latin/BinaryDictionary.java +++ b/java/src/com/android/inputmethod/latin/BinaryDictionary.java @@ -81,7 +81,6 @@ public final class BinaryDictionary extends Dictionary { /** * Constructor for the binary dictionary. This is supposed to be called from the * dictionary factory. - * All implementations should pass null into flagArray, except for testing purposes. * @param context the context to access the environment from. * @param filename the name of the file to read through native code. * @param offset the offset of the dictionary data within the file. @@ -174,7 +173,7 @@ public final class BinaryDictionary extends Dictionary { return suggestions; } - /* package for test */ boolean isValidDictionary() { + public boolean isValidDictionary() { return mNativeDict != 0; } |