testing/testutils/src/main/java/org/apache/axiom/testutils/io/InstrumentedInputStream.java [32:55]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        super(parent);
    }

    @Override
    protected void afterRead(int n) {
        if (n != -1) {
            count += n;
        }
    }

    @Override
    public long getCount() {
        return count;
    }

    @Override
    public void close() throws IOException {
        closed = true;
        super.close();
    }

    @Override
    public boolean isClosed() {
        return closed;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



testing/testutils/src/main/java/org/apache/axiom/testutils/io/InstrumentedReader.java [32:55]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        super(parent);
    }

    @Override
    protected void afterRead(int n) {
        if (n != -1) {
            count += n;
        }
    }

    @Override
    public long getCount() {
        return count;
    }

    @Override
    public void close() throws IOException {
        closed = true;
        super.close();
    }

    @Override
    public boolean isClosed() {
        return closed;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



