core/src/main/java/org/apache/commons/vfs2/provider/bzip2/CBZip2InputStream.java
/**
     * a fake <code>available</code> which always returns 1 as long as the stream is not at end.
     * This is required to make this stream work if wrapped in an BufferedInputStream.
     *
     */
a fake available which always returns 1 as long as the stream is not at end.
This is required to make this stream work if wrapped in an BufferedInputStream.
a fake available which always returns 1 as long as the stream is not at end . This is required to make this stream work if wrapped in an BufferedInputStream .
@Override
    public int available() throws IOException
    {
        if (!streamEnd)
        {
            return 1;
        }
        return 0;
    }
@ Override public int available ( ) throws IOException { if ( ! streamEnd ) { return 1 ; } return 0 ; }
a fake <code>available</code> which always returns 1 as long as the stream is not at end.
a fake <code > available< / code > which always returns 1 as long as the stream is not at end .