From 0f7d881dc72132dfd75c8b4fe61a69fc5cdcd460 Mon Sep 17 00:00:00 2001 From: Mohammadinamul Sheik Date: Thu, 5 Feb 2015 13:27:36 -0800 Subject: Move decoder specific constants to DecoderSpecificConstants.java Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0 --- .../src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java') 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 { -- cgit v1.2.3-83-g751a