diff options
author | 2015-02-05 13:27:36 -0800 | |
---|---|---|
committer | 2015-02-05 13:27:36 -0800 | |
commit | 0f7d881dc72132dfd75c8b4fe61a69fc5cdcd460 (patch) | |
tree | 736c344b8b662983e99f2e71ba4ab65bc8667b60 /tests/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java | |
parent | 608ef4729c26dca2be48eb72f372a278a03ff26d (diff) | |
download | latinime-0f7d881dc72132dfd75c8b4fe61a69fc5cdcd460.tar.gz latinime-0f7d881dc72132dfd75c8b4fe61a69fc5cdcd460.tar.xz latinime-0f7d881dc72132dfd75c8b4fe61a69fc5cdcd460.zip |
Move decoder specific constants to DecoderSpecificConstants.java
Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java index b104a21f9..a432ca740 100644 --- a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java +++ b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java @@ -17,7 +17,7 @@ package com.android.inputmethod.latin.makedict; import com.android.inputmethod.annotations.UsedForTesting; -import com.android.inputmethod.latin.common.Constants; +import com.android.inputmethod.latin.define.DecoderSpecificConstants; import com.android.inputmethod.latin.makedict.DictDecoder.DictionaryBufferFactory; import java.io.File; @@ -183,7 +183,7 @@ public final class BinaryDictIOUtils { dictDecoder.readHeader(); int wordPos = 0; final int wordLen = word.codePointCount(0, word.length()); - for (int depth = 0; depth < Constants.DICTIONARY_MAX_WORD_LENGTH; ++depth) { + for (int depth = 0; depth < DecoderSpecificConstants.DICTIONARY_MAX_WORD_LENGTH; ++depth) { if (wordPos >= wordLen) return FormatSpec.NOT_VALID_WORD; do { |