aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java
diff options
context:
space:
mode:
authorYuichiro Hanada <yhanada@google.com>2013-08-23 23:23:03 +0900
committerYuichiro Hanada <yhanada@google.com>2013-08-26 16:14:59 +0900
commitbb5b84a82630bc2309c9ae866d43c7934768bb2e (patch)
tree6e1d699df1cfef116951745816b0353bcd02faab /java/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java
parent800225e0b19c8a368fe74f6b73b40a01340a0c0f (diff)
downloadlatinime-bb5b84a82630bc2309c9ae866d43c7934768bb2e.tar.gz
latinime-bb5b84a82630bc2309c9ae866d43c7934768bb2e.tar.xz
latinime-bb5b84a82630bc2309c9ae866d43c7934768bb2e.zip
[Refactor] Add DictDecoder.getTerminalPosition.
Change-Id: I9d04f64a58f5481cbb64cf1c09b5c485dd4176b4
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java')
-rw-r--r--java/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java b/java/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java
index 245f0038b..a08e28c8b 100644
--- a/java/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java
+++ b/java/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java
@@ -169,7 +169,7 @@ public final class BinaryDictIOUtils {
* @throws UnsupportedFormatException if the format of the file is not recognized.
*/
@UsedForTesting
- public static int getTerminalPosition(final Ver3DictDecoder dictDecoder,
+ /* package */ static int getTerminalPosition(final Ver3DictDecoder dictDecoder,
final String word) throws IOException, UnsupportedFormatException {
final DictBuffer dictBuffer = dictDecoder.getDictBuffer();
if (word == null) return FormatSpec.NOT_VALID_WORD;