diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-08-11 22:13:00 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-08-11 22:13:00 -0700 |
commit | cef7916e33b0738f3dc7c3636d3086464dd9d8ed (patch) | |
tree | 21822504c0867efe0e0804da91a8c6985c96f617 /src | |
parent | d7d5f6900f3170f1c955051ed9f13cb38a239c11 (diff) | |
download | dsub-cef7916e33b0738f3dc7c3636d3086464dd9d8ed.tar.gz dsub-cef7916e33b0738f3dc7c3636d3086464dd9d8ed.tar.bz2 dsub-cef7916e33b0738f3dc7c3636d3086464dd9d8ed.zip |
Stop logging all serializations
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/util/FileUtil.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/github/daneren2005/dsub/util/FileUtil.java b/src/github/daneren2005/dsub/util/FileUtil.java index 205b3e15..304541b6 100644 --- a/src/github/daneren2005/dsub/util/FileUtil.java +++ b/src/github/daneren2005/dsub/util/FileUtil.java @@ -577,7 +577,6 @@ public class FileUtil { RandomAccessFile file = new RandomAccessFile(context.getCacheDir() + "/" + fileName, "rw"); out = new Output(new FileOutputStream(file.getFD())); kryo.writeObject(out, obj); - Log.i(TAG, "Serialized object to " + fileName); return true; } catch (Throwable x) { Log.w(TAG, "Failed to serialize object to " + fileName); @@ -614,7 +613,6 @@ public class FileUtil { in = new Input(new FileInputStream(randomFile.getFD())); T result = (T) kryo.readObject(in, tClass); - Log.i(TAG, "Deserialized object from " + fileName); return result; } catch(FileNotFoundException e) { // Different error message @@ -636,7 +634,6 @@ public class FileUtil { RandomAccessFile file = new RandomAccessFile(context.getCacheDir() + "/" + fileName, "rw"); out = new Output(new DeflaterOutputStream(new FileOutputStream(file.getFD()))); kryo.writeObject(out, obj); - Log.i(TAG, "Serialized compressed object to " + fileName); return true; } catch (Throwable x) { Log.w(TAG, "Failed to serialize compressed object to " + fileName); @@ -656,7 +653,6 @@ public class FileUtil { in = new Input(new InflaterInputStream(new FileInputStream(file.getFD()))); T result = (T) kryo.readObject(in, tClass); - Log.i(TAG, "Deserialized compressed object from " + fileName); return result; } catch(FileNotFoundException e) { // Different error message |