diff options
author | 2014-10-23 07:54:35 +0000 | |
---|---|---|
committer | 2014-10-23 07:54:35 +0000 | |
commit | 77e6afd1f243eb05936a00f54f6839ecacddd35c (patch) | |
tree | bcd93f81f396556ddaa1a765fa92c2011f9bcf99 /tests/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java | |
parent | 3af7fd0a913d754593c231eb8ba0236b47322f50 (diff) | |
parent | d3a4c5132422b189c8dbb94dbbe84a9b9761b0a8 (diff) | |
download | latinime-77e6afd1f243eb05936a00f54f6839ecacddd35c.tar.gz latinime-77e6afd1f243eb05936a00f54f6839ecacddd35c.tar.xz latinime-77e6afd1f243eb05936a00f54f6839ecacddd35c.zip |
am d3a4c513: Fix Javadoc and null analysis related warnings
* commit 'd3a4c5132422b189c8dbb94dbbe84a9b9761b0a8':
Fix Javadoc and null analysis related warnings
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java index 5e90387f7..0ff4c21fb 100644 --- a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java +++ b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictIOUtils.java @@ -44,7 +44,7 @@ public final class BinaryDictIOUtils { public static DictDecoder getDictDecoder(final File dictFile, final long offset, final long length, final int bufferType) { if (dictFile.isDirectory()) { - return new Ver4DictDecoder(dictFile, bufferType); + return new Ver4DictDecoder(dictFile); } else if (dictFile.isFile()) { return new Ver2DictDecoder(dictFile, offset, length, bufferType); } @@ -54,7 +54,7 @@ public final class BinaryDictIOUtils { public static DictDecoder getDictDecoder(final File dictFile, final long offset, final long length, final DictionaryBufferFactory factory) { if (dictFile.isDirectory()) { - return new Ver4DictDecoder(dictFile, factory); + return new Ver4DictDecoder(dictFile); } else if (dictFile.isFile()) { return new Ver2DictDecoder(dictFile, offset, length, factory); } |