Author: bodewig Date: Tue Aug 16 03:14:50 2011 New Revision: 1158094 URL: http://svn.apache.org/viewvc?rev=1158094&view=rev Log: whitespace
Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/package.html Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java?rev=1158094&r1=1158093&r2=1158094&view=diff ============================================================================== --- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java (original) +++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java Tue Aug 16 03:14:50 2011 @@ -76,25 +76,25 @@ public class DumpArchiveInputStream exte this.hasHitEOF = false; try { - // read header, verify it's a dump archive. - byte[] headerBytes = raw.readRecord(); + // read header, verify it's a dump archive. + byte[] headerBytes = raw.readRecord(); - if (!DumpArchiveUtil.verify(headerBytes)) { - throw new UnrecognizedFormatException(); - } + if (!DumpArchiveUtil.verify(headerBytes)) { + throw new UnrecognizedFormatException(); + } - // get summary information - summary = new DumpArchiveSummary(headerBytes); + // get summary information + summary = new DumpArchiveSummary(headerBytes); - // reset buffer with actual block size. - raw.resetBlockSize(summary.getNTRec(), summary.isCompressed()); + // reset buffer with actual block size. + raw.resetBlockSize(summary.getNTRec(), summary.isCompressed()); - // allocate our read buffer. - blockBuffer = new byte[4 * DumpArchiveConstants.TP_SIZE]; + // allocate our read buffer. + blockBuffer = new byte[4 * DumpArchiveConstants.TP_SIZE]; - // skip past CLRI and BITS segments since we don't handle them yet. - readCLRI(); - readBITS(); + // skip past CLRI and BITS segments since we don't handle them yet. + readCLRI(); + readBITS(); } catch (IOException ex) { throw new ArchiveException(ex.getMessage(), ex); } Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/package.html URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/package.html?rev=1158094&r1=1158093&r2=1158094&view=diff ============================================================================== --- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/package.html (original) +++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/dump/package.html Tue Aug 16 03:14:50 2011 @@ -50,7 +50,7 @@ </ul> </p> - <p>As of Apache Commons Compress 1.3 support for thedump format is + <p>As of Apache Commons Compress 1.3 support for the dump format is read-only.</p> </body> </html>