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 10:37:55 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-02-14 10:37:56 +0000
commit85fe06e759ab89c629caab5fb73de7ff0441d060 (patch)
tree36d7fd0ced83ccb8270586e8408987fbbcd7fc05 /java/src/com/android/inputmethod/latin/makedict/DictDecoder.java
parent36d606fcbc666c331ffaba02fe6b55afa4509348 (diff)
parent8e3a1d0f89ac5a0c7d31effb8cbb447f93f70310 (diff)
downloadlatinime-85fe06e759ab89c629caab5fb73de7ff0441d060.tar.gz
latinime-85fe06e759ab89c629caab5fb73de7ff0441d060.tar.xz
latinime-85fe06e759ab89c629caab5fb73de7ff0441d060.zip
Merge "Remove unused argument from readDictionaryBinary."
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.