commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r1552706 - in /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/snappy: FramedSnappyCompressorInputStream.java SnappyCompressorInputStream.java
Date Fri, 20 Dec 2013 15:47:43 GMT
Author: ebourg
Date: Fri Dec 20 15:47:43 2013
New Revision: 1552706

URL: http://svn.apache.org/r1552706
Log:
Proper links to the snappy specification

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/snappy/FramedSnappyCompressorInputStream.java
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorInputStream.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/snappy/FramedSnappyCompressorInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/snappy/FramedSnappyCompressorInputStream.java?rev=1552706&r1=1552705&r2=1552706&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/snappy/FramedSnappyCompressorInputStream.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/snappy/FramedSnappyCompressorInputStream.java
Fri Dec 20 15:47:43 2013
@@ -32,7 +32,7 @@ import org.apache.commons.compress.utils
  *
  * <p>Based on the "spec" in the version "Last revised: 2013-10-25"</p>
  *
- * @see "http://code.google.com/p/snappy/source/browse/trunk/framing_format.txt"
+ * @see <a href="http://code.google.com/p/snappy/source/browse/trunk/framing_format.txt">Snappy
framing format description</a>
  * @since 1.7
  */
 public class FramedSnappyCompressorInputStream extends CompressorInputStream {

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorInputStream.java?rev=1552706&r1=1552705&r2=1552706&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorInputStream.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/compressors/snappy/SnappyCompressorInputStream.java
Fri Dec 20 15:47:43 2013
@@ -34,7 +34,7 @@ import org.apache.commons.compress.compr
  * doesn't contain offsets bigger than 32k which is the default block
  * size used by this class.</p>
  *
- * @see "http://code.google.com/p/snappy/source/browse/trunk/format_description.txt"
+ * @see <a href="http://code.google.com/p/snappy/source/browse/trunk/format_description.txt">Snappy
compressed format description</a>
  * @since 1.7
  */
 public class SnappyCompressorInputStream extends CompressorInputStream {
@@ -48,15 +48,10 @@ public class SnappyCompressorInputStream
     /** Buffer to write decompressed bytes to for back-references */
     private final byte[] decompressBuf;
 
-    /** 
-     * One behind the index of the last byte in the buffer that was
-     * written
-     */
+    /** One behind the index of the last byte in the buffer that was written */
     private int writeIndex;
 
-    /**
-     * Index of the next byte to be read.
-     */
+    /** Index of the next byte to be read. */
     private int readIndex;
 
     /** The actual block size specified */
@@ -68,9 +63,7 @@ public class SnappyCompressorInputStream
     /** The size of the uncompressed data */
     private final int size;
 
-    /**
-     * Number of uncompressed bytes still to be read.
-     */
+    /** Number of uncompressed bytes still to be read. */
     private int uncompressedBytesRemaining;
 
     // used in no-arg read method



Mime
View raw message