diff options
author | 2014-02-14 18:31:41 +0900 | |
---|---|---|
committer | 2014-02-14 19:02:15 +0900 | |
commit | 8e3a1d0f89ac5a0c7d31effb8cbb447f93f70310 (patch) | |
tree | c2d937cb1a9e7b6fe71c4c886dc142d635c51ff6 /tools/dicttool/tests | |
parent | c63d183473390dbe6ddef37df48b36ae49de3f29 (diff) | |
download | latinime-8e3a1d0f89ac5a0c7d31effb8cbb447f93f70310.tar.gz latinime-8e3a1d0f89ac5a0c7d31effb8cbb447f93f70310.tar.xz latinime-8e3a1d0f89ac5a0c7d31effb8cbb447f93f70310.zip |
Remove unused argument from readDictionaryBinary.
Bug: 12810574
Change-Id: Ice415ebd8d11162facca3fe8927ef8a616b11424
Diffstat (limited to 'tools/dicttool/tests')
-rw-r--r-- | tools/dicttool/tests/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtilsTests.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtilsTests.java b/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtilsTests.java index 69b49f015..7a4f6f7c5 100644 --- a/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtilsTests.java +++ b/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/BinaryDictOffdeviceUtilsTests.java @@ -78,9 +78,8 @@ public class BinaryDictOffdeviceUtilsTests extends TestCase { } assertEquals("Wrong decode spec", 3, decodeSpec.mDecoderSpec.size()); final DictDecoder dictDecoder = FormatSpec.getDictDecoder(decodeSpec.mFile); - final FusionDictionary resultDict = dictDecoder.readDictionaryBinary( - null /* dict : an optional dictionary to add words to, or null */, - false /* deleteDictIfBroken */); + final FusionDictionary resultDict = + dictDecoder.readDictionaryBinary(false /* deleteDictIfBroken */); assertEquals("Wrong version attribute", VERSION, resultDict.mOptions.mAttributes.get( DictionaryHeader.DICTIONARY_VERSION_KEY)); assertEquals("Wrong locale attribute", LOCALE, resultDict.mOptions.mAttributes.get( |