diff --git a/src/com/fsck/k9/mail/filter/CountingOutputStream.java b/src/com/fsck/k9/mail/filter/CountingOutputStream.java index 05960243d..06b335b42 100644 --- a/src/com/fsck/k9/mail/filter/CountingOutputStream.java +++ b/src/com/fsck/k9/mail/filter/CountingOutputStream.java @@ -21,9 +21,13 @@ public class CountingOutputStream extends OutputStream { public void write(int oneByte) throws IOException { mCount++; } + + @Override public void write(byte b[], int offset, int len) throws IOException { mCount += len; } + + @Override public void write(byte[] b) throws IOException { mCount += b.length; }