You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/02/04 15:24:04 UTC

(commons-compress) branch master updated (3f2ef7a1d -> 74160fa8f)

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git


    from 3f2ef7a1d Use camel case naming
     new 58941d330 Rename test
     new 74160fa8f Fix spelling

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../{ZstdCompressorTest.java => ZipCompressMethodZstdTest.java}   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename src/test/java/org/apache/commons/compress/archivers/zip/{ZstdCompressorTest.java => ZipCompressMethodZstdTest.java} (95%)


(commons-compress) 02/02: Fix spelling

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git

commit 74160fa8ff12a3c52cfe70e90c5bad6f7e205ae2
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Feb 4 10:23:57 2025 -0500

    Fix spelling
---
 .../commons/compress/archivers/zip/ZipCompressMethodZstdTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ZipCompressMethodZstdTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ZipCompressMethodZstdTest.java
index 28f7ada70..3e4027937 100644
--- a/src/test/java/org/apache/commons/compress/archivers/zip/ZipCompressMethodZstdTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/zip/ZipCompressMethodZstdTest.java
@@ -46,7 +46,7 @@ public class ZipCompressMethodZstdTest extends AbstractTest {
     /**
      * Reads uncompressed data stream and writes it compressed to the output
      *
-     * @param input  the data stream with uncompressced data
+     * @param input  the data stream with uncompressed data
      * @param output the data stream for compressed output
      * @throws IOException throws the exception which could be got from from IOUtils.copyLarge() or ZstdCompressorOutputStream constructor
      */


(commons-compress) 01/02: Rename test

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git

commit 58941d330fcfdfaca31fd5e059ea4f6982708878
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Feb 4 09:54:13 2025 -0500

    Rename test
---
 .../zip/{ZstdCompressorTest.java => ZipCompressMethodZstdTest.java} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ZstdCompressorTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ZipCompressMethodZstdTest.java
similarity index 96%
rename from src/test/java/org/apache/commons/compress/archivers/zip/ZstdCompressorTest.java
rename to src/test/java/org/apache/commons/compress/archivers/zip/ZipCompressMethodZstdTest.java
index f5df7b707..28f7ada70 100644
--- a/src/test/java/org/apache/commons/compress/archivers/zip/ZstdCompressorTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/zip/ZipCompressMethodZstdTest.java
@@ -39,7 +39,7 @@
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.EnumSource;
 
-public class ZstdCompressorTest extends AbstractTest {
+public class ZipCompressMethodZstdTest extends AbstractTest {
 
     private static final int DEFAULT_LEVEL = 3;
 
@@ -69,7 +69,7 @@ public void testZstdMethod(final ZipMethod zipMethod) throws IOException {
             archiveEntry.setMethod(zipMethod.getCode());
             archiveEntry.setSize(simpleText.length);
             zipOutputStream.putArchiveEntry(archiveEntry);
-            ZstdCompressorTest.compress(new ByteArrayInputStream(simpleText), zipOutputStream);
+            ZipCompressMethodZstdTest.compress(new ByteArrayInputStream(simpleText), zipOutputStream);
             zipOutputStream.closeArchiveEntry();
         }
         // Read the Zip File
@@ -115,7 +115,7 @@ public void testZstdMethodInZipFile(final ZipMethod zipMethod) throws IOExceptio
             archiveEntry.setMethod(zipMethod.getCode());
             archiveEntry.setSize(simpleText.length);
             zipOutputStream.putArchiveEntry(archiveEntry);
-            ZstdCompressorTest.compress(new ByteArrayInputStream(simpleText), zipOutputStream);
+            ZipCompressMethodZstdTest.compress(new ByteArrayInputStream(simpleText), zipOutputStream);
             zipOutputStream.closeArchiveEntry();
         }
         // Read the Zip File