diff options
author | 2013-10-01 22:00:03 +0900 | |
---|---|---|
committer | 2013-10-02 11:48:47 +0900 | |
commit | fa946d4a0f6329134ddbae9a3ce03f6d4009019b (patch) | |
tree | c270309fb3e451a228de9065861268f471b19a5b /java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java | |
parent | 74577bedb3bb0dabd0e661270f9da0c11c4b0f46 (diff) | |
download | latinime-fa946d4a0f6329134ddbae9a3ce03f6d4009019b.tar.gz latinime-fa946d4a0f6329134ddbae9a3ce03f6d4009019b.tar.xz latinime-fa946d4a0f6329134ddbae9a3ce03f6d4009019b.zip |
Fix a test and crash with a better error message when reading
When there are too many bigrams, we stop reading the file,
so the file pointer is in an inconsistent place. This means we
have no idea what's going to happen next. It's better to crash
right away.
Change-Id: Id3b7b78cbe4fda3493b3c9c46758763e1ab5f6a3
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java')
0 files changed, 0 insertions, 0 deletions