Added @Override annotations to fix warnings

This commit is contained in:
cketti 2011-04-01 04:36:29 +02:00
parent 319c9b0693
commit 867b251e6d
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}