private void assertState() { if (stream.isClosed()) { throw new IllegalStateException("Stream has already been closed"); } if (this != stream.getCurrentEntry()) { throw new IllegalStateException("Illegal stream pointer"); } }
private void assertState() { if (stream.isClosed()) { throw new IllegalStateException("Stream has already been closed"); } if (this != stream.getCurrentEntry()) { throw new IllegalStateException("Illegal stream pointer"); } }