diff options
author | 2013-02-23 00:55:17 -0800 | |
---|---|---|
committer | 2013-02-23 00:55:17 -0800 | |
commit | 1d08b1f0a7a218c00344d55798e6a2ccb5033e64 (patch) | |
tree | 4ee69181da3eb0c8b9ea4417e3386cb7242b0a58 /java/src | |
parent | aeecc2f48ec01909332771eecd1d2e8b0da47c4f (diff) | |
parent | aefaec3c5fc4b9aa3126ae0a7f32133c0423e7e2 (diff) | |
download | latinime-1d08b1f0a7a218c00344d55798e6a2ccb5033e64.tar.gz latinime-1d08b1f0a7a218c00344d55798e6a2ccb5033e64.tar.xz latinime-1d08b1f0a7a218c00344d55798e6a2ccb5033e64.zip |
am aefaec3c: Remove a cluttering log
* commit 'aefaec3c5fc4b9aa3126ae0a7f32133c0423e7e2':
Remove a cluttering log
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/UserHistoryDictionary.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/latin/UserHistoryDictionary.java b/java/src/com/android/inputmethod/latin/UserHistoryDictionary.java index 81bc9f5d7..528028328 100644 --- a/java/src/com/android/inputmethod/latin/UserHistoryDictionary.java +++ b/java/src/com/android/inputmethod/latin/UserHistoryDictionary.java @@ -263,9 +263,10 @@ public final class UserHistoryDictionary extends ExpandableDictionary { UserHistoryDictIOUtils.readDictionaryBinary( new UserHistoryDictIOUtils.ByteArrayWrapper(buffer), listener); } catch (FileNotFoundException e) { - Log.e(TAG, "when loading: file not found" + e); + // This is an expected condition: we don't have a user history dictionary for this + // language yet. It will be created sometime later. } catch (IOException e) { - Log.e(TAG, "IOException when open bytebuffer: " + e); + Log.e(TAG, "IOException on opening a bytebuffer", e); } finally { if (inStream != null) { try { @@ -328,7 +329,7 @@ public final class UserHistoryDictionary extends ExpandableDictionary { Thread.sleep(15000); Log.w(TAG, "End stress in closing"); } catch (InterruptedException e) { - Log.e(TAG, "In stress test: " + e); + Log.e(TAG, "In stress test", e); } } @@ -343,7 +344,7 @@ public final class UserHistoryDictionary extends ExpandableDictionary { out.flush(); out.close(); } catch (IOException e) { - Log.e(TAG, "IO Exception while writing file: " + e); + Log.e(TAG, "IO Exception while writing file", e); } finally { if (out != null) { try { |