~ubuntu-branches/ubuntu/utopic/libcommons-compress-java/utopic

« back to all changes in this revision

Viewing changes to src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2CompressorInputStream.java

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2013-05-17 07:53:06 UTC
  • mfrom: (7.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130517075306-4yt0jyr782vasejl
Tags: 1.5-1
* Team upload.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
245
245
        }
246
246
 
247
247
        int magic0 = this.in.read();
 
248
        if (magic0 == -1 && !isFirstStream) {
 
249
            return false;
 
250
        }
248
251
        int magic1 = this.in.read();
249
252
        int magic2 = this.in.read();
250
 
        if (magic0 == -1 && !isFirstStream) {
251
 
            return false;
252
 
        }
253
253
 
254
254
        if (magic0 != 'B' || magic1 != 'Z' || magic2 != 'h') {
255
255
            throw new IOException(isFirstStream