Added @Override annotations to fix warnings
This commit is contained in:
parent
319c9b0693
commit
867b251e6d
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue