commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject [2/4] commons-compress git commit: use the more conventional "zstd" as abbreviation of Zstandard
Date Thu, 28 Dec 2017 13:20:50 GMT
use the more conventional "zstd" as abbreviation of Zstandard


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

Branch: refs/heads/master
Commit: 810ba6f292cb4eca0d843555c1e8985d9df977c4
Parents: 79c1753
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Thu Dec 28 13:57:19 2017 +0100
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Thu Dec 28 13:57:19 2017 +0100

----------------------------------------------------------------------
 .../commons/compress/compressors/CompressorStreamFactory.java      | 2 +-
 .../compressors/zstandard/ZstdCompressorInputStreamTest.java       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/810ba6f2/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 b81b451..234bf5e 100644
--- a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
+++ b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
@@ -198,7 +198,7 @@ public class CompressorStreamFactory implements CompressorStreamProvider
{
      *
      * @since 1.16
      */
-    public static final String ZSTANDARD = "zst";
+    public static final String ZSTANDARD = "zstd";
 
     /**
      * Constructs a new sorted map from input stream provider names to provider

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/810ba6f2/src/test/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorInputStreamTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorInputStreamTest.java
b/src/test/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorInputStreamTest.java
index eea2e7f..cadf198 100644
--- a/src/test/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorInputStreamTest.java
+++ b/src/test/java/org/apache/commons/compress/compressors/zstandard/ZstdCompressorInputStreamTest.java
@@ -141,7 +141,7 @@ public class ZstdCompressorInputStreamTest extends AbstractTestCase {
         final File output = new File(dir, "bla.tar");
         try (InputStream is = new FileInputStream(input)) {
             final CompressorInputStream in = new CompressorStreamFactory()
-                    .createCompressorInputStream("zst", is);
+                    .createCompressorInputStream("zstd", is);
             FileOutputStream out = null;
             try {
                 out = new FileOutputStream(output);


Mime
View raw message