am aefaec3c: Remove a cluttering log

* commit 'aefaec3c5fc4b9aa3126ae0a7f32133c0423e7e2':
  Remove a cluttering log
This commit is contained in:
Jean Chalard 2013-02-23 00:55:17 -08:00 committed by Android Git Automerger
commit 1d08b1f0a7

View file

@ -263,9 +263,10 @@ public final class UserHistoryDictionary extends ExpandableDictionary {
UserHistoryDictIOUtils.readDictionaryBinary( UserHistoryDictIOUtils.readDictionaryBinary(
new UserHistoryDictIOUtils.ByteArrayWrapper(buffer), listener); new UserHistoryDictIOUtils.ByteArrayWrapper(buffer), listener);
} catch (FileNotFoundException e) { } 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) { } catch (IOException e) {
Log.e(TAG, "IOException when open bytebuffer: " + e); Log.e(TAG, "IOException on opening a bytebuffer", e);
} finally { } finally {
if (inStream != null) { if (inStream != null) {
try { try {
@ -328,7 +329,7 @@ public final class UserHistoryDictionary extends ExpandableDictionary {
Thread.sleep(15000); Thread.sleep(15000);
Log.w(TAG, "End stress in closing"); Log.w(TAG, "End stress in closing");
} catch (InterruptedException e) { } 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.flush();
out.close(); out.close();
} catch (IOException e) { } catch (IOException e) {
Log.e(TAG, "IO Exception while writing file: " + e); Log.e(TAG, "IO Exception while writing file", e);
} finally { } finally {
if (out != null) { if (out != null) {
try { try {