package org.basex.io;
import java.io.IOException;
import java.io.InputStream;
public class WrapInputStream extends InputStream {
private final BufferInput bi;
<BUG>private boolean more = true;
public WrapInputStream(final BufferInput buffer) {

bi = buffer;
}</BUG>
@Override

package org.basex.io;
import java.io.IOException;
import java.io.InputStream;
public class WrapInputStream extends InputStream {
private final BufferInput bi;
private int curr;
public WrapInputStream(final BufferInput buffer) throws IOException {
bi = buffer;
read();
}
public int curr() {
return curr;
}
