diff options
author | 2014-03-05 23:34:14 -0800 | |
---|---|---|
committer | 2014-03-05 23:34:14 -0800 | |
commit | 2cb31a0f23863e59ebffbe590712016fd6f88ec9 (patch) | |
tree | 0133f8580b2e85be2410b0f71759c2dd8521fe0c /java/src/com/android/inputmethod/latin/makedict/FormatSpec.java | |
parent | ea3c70ebe21e6dacab9ec99c44d85d6d40b8a3d7 (diff) | |
parent | d93eb680c463f6258f8b9e31bb379545b8679357 (diff) | |
download | latinime-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.java | 2 |
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); |