aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-02-14 18:31:41 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2014-02-14 19:02:15 +0900
commit8e3a1d0f89ac5a0c7d31effb8cbb447f93f70310 (patch)
treec2d937cb1a9e7b6fe71c4c886dc142d635c51ff6 /tests/src
parentc63d183473390dbe6ddef37df48b36ae49de3f29 (diff)
downloadlatinime-8e3a1d0f89ac5a0c7d31effb8cbb447f93f70310.tar.gz
latinime-8e3a1d0f89ac5a0c7d31effb8cbb447f93f70310.tar.xz
latinime-8e3a1d0f89ac5a0c7d31effb8cbb447f93f70310.zip
Remove unused argument from readDictionaryBinary.
Bug: 12810574 Change-Id: Ice415ebd8d11162facca3fe8927ef8a616b11424
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java4
-rw-r--r--tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
index 7d664c825..64b793e83 100644
--- a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
+++ b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java
@@ -152,8 +152,8 @@ public class BinaryDictionaryDecayingTests extends AndroidTestCase {
final DictDecoder dictDecoder = FormatSpec.getDictDecoder(dictFile);
try {
- final FusionDictionary dict = dictDecoder.readDictionaryBinary(null,
- false /* deleteDictIfBroken */);
+ final FusionDictionary dict =
+ dictDecoder.readDictionaryBinary(false /* deleteDictIfBroken */);
PtNode ptNode = FusionDictionary.findWordInTree(dict.mRootNodeArray, "a");
assertNotNull(ptNode);
assertTrue(ptNode.isTerminal());
diff --git a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java
index 86f245810..4fb06364f 100644
--- a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java
+++ b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java
@@ -252,7 +252,7 @@ public class BinaryDictDecoderEncoderTests extends AndroidTestCase {
try {
final DictDecoder dictDecoder = FormatSpec.getDictDecoder(file, bufferType);
now = System.currentTimeMillis();
- dict = dictDecoder.readDictionaryBinary(null, false /* deleteDictIfBroken */);
+ dict = dictDecoder.readDictionaryBinary(false /* deleteDictIfBroken */);
diff = System.currentTimeMillis() - now;
} catch (IOException e) {
Log.e(TAG, "IOException while reading dictionary", e);