am 7a7d117a: Ignore the broken file.

* commit '7a7d117aa7e7157ed429d68c4797218476151d8d':
  Ignore the broken file.
main
Yuichiro Hanada 2012-09-27 22:44:34 -07:00 committed by Android Git Automerger
commit 7a2bb6ae2f
1 changed files with 3 additions and 1 deletions

View File

@ -180,12 +180,14 @@ public final class UserHistoryDictIOUtils {
try {
BinaryDictIOUtils.readUnigramsAndBigramsBinary(buffer, unigrams, frequencies,
bigrams);
addWordsFromWordMap(unigrams, frequencies, bigrams, dict);
} catch (IOException e) {
Log.e(TAG, "IO exception while reading file: " + e);
} catch (UnsupportedFormatException e) {
Log.e(TAG, "Unsupported format: " + e);
} catch (ArrayIndexOutOfBoundsException e) {
Log.e(TAG, "ArrayIndexOutOfBoundsException while reading file: " + e);
}
addWordsFromWordMap(unigrams, frequencies, bigrams, dict);
}
/**