diff options
author | 2013-08-23 17:10:57 +0900 | |
---|---|---|
committer | 2013-08-26 18:08:21 +0900 | |
commit | d5a3c593dba3475f5e72b1fbe53cee5ed17a7529 (patch) | |
tree | 6f230796042889b302da1549a7de68d5aebb3754 /java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java | |
parent | b2f586b9d66fb653d233051c08a22f42b06374e0 (diff) | |
download | latinime-d5a3c593dba3475f5e72b1fbe53cee5ed17a7529.tar.gz latinime-d5a3c593dba3475f5e72b1fbe53cee5ed17a7529.tar.xz latinime-d5a3c593dba3475f5e72b1fbe53cee5ed17a7529.zip |
Remove a broken dictionary file when fail to read a dictionary file.
Bug: 10434720
Change-Id: Ibdf05a39113538546b8fcf9d59af7dddf7ca27fc
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java b/java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java index 29f114662..ceb8fa81f 100644 --- a/java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java +++ b/java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java @@ -561,8 +561,7 @@ public final class BinaryDictDecoderUtils { */ @UsedForTesting /* package */ static FusionDictionary readDictionaryBinary(final Ver3DictDecoder dictDecoder, - final FusionDictionary dict) throws FileNotFoundException, IOException, - UnsupportedFormatException { + final FusionDictionary dict) throws IOException, UnsupportedFormatException { // Read header final FileHeader fileHeader = dictDecoder.readHeader(); |