diff --git a/src/main/java/org/xerial/snappy/SnappyFramedInputStream.java b/src/main/java/org/xerial/snappy/SnappyFramedInputStream.java index ad6494d..d10ba46 100644 --- a/src/main/java/org/xerial/snappy/SnappyFramedInputStream.java +++ b/src/main/java/org/xerial/snappy/SnappyFramedInputStream.java @@ -257,7 +257,7 @@ public final class SnappyFramedInputStream extends InputStream implements * The destination to write decompressed content to. * @return The number of bytes transferred. * @throws IOException - * @since 1.2 + * @since 1.1.1 */ public long transferTo(OutputStream os) throws IOException { if (os == null) { @@ -296,7 +296,7 @@ public final class SnappyFramedInputStream extends InputStream implements * The destination to write decompressed content to. * @return The number of bytes transferred. * @throws IOException - * @since 1.2 + * @since 1.1.1 */ public long transferTo(WritableByteChannel wbc) throws IOException { if (wbc == null) { diff --git a/src/main/java/org/xerial/snappy/SnappyFramedOutputStream.java b/src/main/java/org/xerial/snappy/SnappyFramedOutputStream.java index 1f82c6a..f7474c7 100644 --- a/src/main/java/org/xerial/snappy/SnappyFramedOutputStream.java +++ b/src/main/java/org/xerial/snappy/SnappyFramedOutputStream.java @@ -104,6 +104,7 @@ public final class SnappyFramedOutputStream extends OutputStream implements * @param out * The underlying {@link WritableByteChannel} to write to. Must * not be {@code null}. + * @since 1.1.1 * @throws IOException */ public SnappyFramedOutputStream(WritableByteChannel out) throws IOException { @@ -123,6 +124,7 @@ public final class SnappyFramedOutputStream extends OutputStream implements * Defines the minimum compression ratio ( * {@code compressedLength / rawLength}) that must be achieved to * write the compressed data. This must be in (0, 1.0]. + * @since 1.1.1 * @throws IOException */ public SnappyFramedOutputStream(WritableByteChannel out, int blockSize, @@ -257,7 +259,7 @@ public final class SnappyFramedOutputStream extends OutputStream implements * The source of data to compress. * @return The number of bytes read from is. * @throws IOException - * @since 1.2 + * @since 1.1.1 */ public long transferFrom(InputStream is) throws IOException { if (closed) { @@ -301,7 +303,7 @@ public final class SnappyFramedOutputStream extends OutputStream implements * The source of data to compress. * @return The number of bytes read from rbc. * @throws IOException - * @since 1.2 + * @since 1.1.1 */ public long transferFrom(ReadableByteChannel rbc) throws IOException { if (closed) {