aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-03-05 23:34:14 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-05 23:34:14 -0800
commit2cb31a0f23863e59ebffbe590712016fd6f88ec9 (patch)
tree0133f8580b2e85be2410b0f71759c2dd8521fe0c /java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
parentea3c70ebe21e6dacab9ec99c44d85d6d40b8a3d7 (diff)
parentd93eb680c463f6258f8b9e31bb379545b8679357 (diff)
downloadlatinime-2cb31a0f23863e59ebffbe590712016fd6f88ec9.tar.gz
latinime-2cb31a0f23863e59ebffbe590712016fd6f88ec9.tar.xz
latinime-2cb31a0f23863e59ebffbe590712016fd6f88ec9.zip
am d93eb680: Merge "Use BinaryDictionaryUtils to read dictionary header."
* commit 'd93eb680c463f6258f8b9e31bb379545b8679357': 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);