diff options
author | 2015-02-06 22:52:26 +0000 | |
---|---|---|
committer | 2015-02-06 22:52:26 +0000 | |
commit | 2c36c9944ea4a4752f5c4c83bfa0b7edc22b5400 (patch) | |
tree | 56e8d425bee0ed7164cb4a09ffca077638344cf1 /java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java | |
parent | 3237983b371fc0f11118a888de4018d1e4984a30 (diff) | |
parent | aadfef6ffaf4fd4249a92252e401cbd98cf79d54 (diff) | |
download | latinime-2c36c9944ea4a4752f5c4c83bfa0b7edc22b5400.tar.gz latinime-2c36c9944ea4a4752f5c4c83bfa0b7edc22b5400.tar.xz latinime-2c36c9944ea4a4752f5c4c83bfa0b7edc22b5400.zip |
am aadfef6f: Merge "Move decoder specific constants to DecoderSpecificConstants.java"
* commit 'aadfef6ffaf4fd4249a92252e401cbd98cf79d54':
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.java | 5 |
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; |