aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/DictDecoder.java
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 /java/src/com/android/inputmethod/latin/makedict/DictDecoder.java
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 'java/src/com/android/inputmethod/latin/makedict/DictDecoder.java')
-rw-r--r--java/src/com/android/inputmethod/latin/makedict/DictDecoder.java11
1 files changed, 4 insertions, 7 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/DictDecoder.java b/java/src/com/android/inputmethod/latin/makedict/DictDecoder.java
index a93a8bbad..0fb98aba9 100644
--- a/java/src/com/android/inputmethod/latin/makedict/DictDecoder.java
+++ b/java/src/com/android/inputmethod/latin/makedict/DictDecoder.java
@@ -54,18 +54,15 @@ public interface DictDecoder {
* Reads a buffer and returns the memory representation of the dictionary.
*
* This high-level method takes a buffer and reads its contents, populating a
- * FusionDictionary structure. The optional dict argument is an existing dictionary to
- * which words from the buffer should be added. If it is null, a new dictionary is created.
+ * FusionDictionary structure.
*
- * @param dict an optional dictionary to add words to, or null.
* @param deleteDictIfBroken a flag indicating whether this method should remove the broken
* dictionary or not.
- * @return the created (or merged) dictionary.
+ * @return the created dictionary.
*/
@UsedForTesting
- public FusionDictionary readDictionaryBinary(final FusionDictionary dict,
- final boolean deleteDictIfBroken)
- throws FileNotFoundException, IOException, UnsupportedFormatException;
+ public FusionDictionary readDictionaryBinary(final boolean deleteDictIfBroken)
+ throws FileNotFoundException, IOException, UnsupportedFormatException;
/**
* Gets the address of the last PtNode of the exact matching word in the dictionary.