aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-03-06 07:32:07 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-03-06 07:32:07 +0000
commitd93eb680c463f6258f8b9e31bb379545b8679357 (patch)
tree0133f8580b2e85be2410b0f71759c2dd8521fe0c /java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
parentdb38d5cf632e6e20178ca3bc1603eabd71c74d41 (diff)
parentde36b47d29b7d6bdfb448a97bef2dcc3f5649205 (diff)
downloadlatinime-d93eb680c463f6258f8b9e31bb379545b8679357.tar.gz
latinime-d93eb680c463f6258f8b9e31bb379545b8679357.tar.xz
latinime-d93eb680c463f6258f8b9e31bb379545b8679357.zip
Merge "Use BinaryDictionaryUtils to read dictionary header."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/FormatSpec.java')
-rw-r--r--java/src/com/android/inputmethod/latin/makedict/FormatSpec.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java b/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
index 9abecbfec..484bb4b23 100644
--- a/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
+++ b/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
@@ -341,6 +341,7 @@ public final class FormatSpec {
return null;
}
+ @UsedForTesting
public static DictDecoder getDictDecoder(final File dictFile, final long offset,
final long length, final DictionaryBufferFactory factory) {
if (dictFile.isDirectory()) {
@@ -351,6 +352,7 @@ public final class FormatSpec {
return null;
}
+ @UsedForTesting
public static DictDecoder getDictDecoder(final File dictFile, final long offset,
final long length) {
return getDictDecoder(dictFile, offset, length, DictDecoder.USE_READONLY_BYTEBUFFER);