From 867b251e6d962a9065e16a498660fc2da2ffca52 Mon Sep 17 00:00:00 2001 From: cketti Date: Fri, 1 Apr 2011 04:36:29 +0200 Subject: [PATCH] Added @Override annotations to fix warnings --- src/com/fsck/k9/mail/filter/CountingOutputStream.java | 4 ++++ 1 file changed, 4 insertions(+) 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; }