commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [2/2] commons-compress git commit: COMPRESS-423 small fixes
Date Tue, 17 Oct 2017 18:23:25 GMT
COMPRESS-423 small fixes

closes #55


Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/1c382914
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/1c382914
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/1c382914

Branch: refs/heads/master
Commit: 1c382914c0ca52e786937e222d8e7aad17348cfa
Parents: 7984387
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Tue Oct 17 20:22:47 2017 +0200
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Tue Oct 17 20:22:47 2017 +0200

----------------------------------------------------------------------
 .../commons/compress/compressors/CompressorStreamFactory.java    | 4 ++--
 .../compressors/zstandard/ZstdCompressorInputStream.java         | 4 ++--
 .../apache/commons/compress/compressors/zstandard/ZstdUtils.java | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/1c382914/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
index b446963..8b25611 100644
--- a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
+++ b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
@@ -196,7 +196,7 @@ public class CompressorStreamFactory implements CompressorStreamProvider
{
      * Constant (value {@value}) used to identify the ZStandard compression
      * algorithm. Not supported as an output stream type.
      *
-     * @since 1.15
+     * @since 1.16
      */
     public static final String ZSTANDARD = "zst";
 
@@ -571,7 +571,7 @@ public class CompressorStreamFactory implements CompressorStreamProvider
{
 
             if (ZSTANDARD.equalsIgnoreCase(name)) {
                 if (!ZstdUtils.isZstdCompressionAvailable()) {
-                    throw new CompressorException("XZ compression is not available.");
+                    throw new CompressorException("ZStandard compression is not available.");
                 }
                 return new ZstdCompressorInputStream(in);
             }

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/1c382914/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorInputStream.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorInputStream.java
b/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorInputStream.java
index 1e5dd8d..c85a444 100644
--- a/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorInputStream.java
+++ b/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorInputStream.java
@@ -28,7 +28,7 @@ import org.apache.commons.compress.compressors.CompressorInputStream;
  * {@link CompressorInputStream} implementation to decode Zstandard encoded stream.
  * Library relies on <a href="https://github.com/luben/zstd-jni/">Zstandard JNI</a>
  *
- * @since 1.15
+ * @since 1.16
  */
 public class ZstdCompressorInputStream extends CompressorInputStream {
 
@@ -92,4 +92,4 @@ public class ZstdCompressorInputStream extends CompressorInputStream {
         decIS.reset();
     }
 
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/1c382914/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdUtils.java
b/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdUtils.java
index 0eb8fa1..a12492e 100644
--- a/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdUtils.java
+++ b/src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdUtils.java
@@ -21,7 +21,7 @@ package org.apache.commons.compress.compressors.zstandard;
 /**
  * Utility code for the Zstandard compression format.
  * @ThreadSafe
- * @since 1.14
+ * @since 1.16
  */
 public class ZstdUtils {
 


Mime
View raw message