aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java
diff options
context:
space:
mode:
authorMohammadinamul Sheik <inamul@google.com>2015-02-06 22:46:08 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-02-06 22:46:08 +0000
commitaadfef6ffaf4fd4249a92252e401cbd98cf79d54 (patch)
tree2bb9f74bb4f41bd0906dae07ae1ec93d5ea8f316 /java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java
parentd6a8adcb044dd8b73a1c96776a835b411a978b46 (diff)
parent0f7d881dc72132dfd75c8b4fe61a69fc5cdcd460 (diff)
downloadlatinime-aadfef6ffaf4fd4249a92252e401cbd98cf79d54.tar.gz
latinime-aadfef6ffaf4fd4249a92252e401cbd98cf79d54.tar.xz
latinime-aadfef6ffaf4fd4249a92252e401cbd98cf79d54.zip
Merge "Move decoder specific constants to DecoderSpecificConstants.java"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java')
-rw-r--r--java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java b/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java
index 1c54a20e7..87d46e226 100644
--- a/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java
+++ b/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java
@@ -22,8 +22,8 @@ import android.util.Log;
import com.android.inputmethod.annotations.UsedForTesting;
import com.android.inputmethod.latin.SuggestedWords.SuggestedWordInfo;
import com.android.inputmethod.latin.common.ComposedData;
-import com.android.inputmethod.latin.common.Constants;
import com.android.inputmethod.latin.common.FileUtils;
+import com.android.inputmethod.latin.define.DecoderSpecificConstants;
import com.android.inputmethod.latin.makedict.DictionaryHeader;
import com.android.inputmethod.latin.makedict.FormatSpec;
import com.android.inputmethod.latin.makedict.UnsupportedFormatException;
@@ -73,7 +73,8 @@ abstract public class ExpandableBinaryDictionary extends Dictionary {
/**
* The maximum length of a word in this dictionary.
*/
- protected static final int MAX_WORD_LENGTH = Constants.DICTIONARY_MAX_WORD_LENGTH;
+ protected static final int MAX_WORD_LENGTH =
+ DecoderSpecificConstants.DICTIONARY_MAX_WORD_LENGTH;
private static final int DICTIONARY_FORMAT_VERSION = FormatSpec.VERSION4;