mehmet-karaman commented on code in PR #655:
URL: https://github.com/apache/commons-compress/pull/655#discussion_r2009100757


##########
src/test/java/org/apache/commons/compress/archivers/zip/ZipFileTest.java:
##########
@@ -66,8 +66,36 @@
 import org.junit.jupiter.api.Assumptions;
 import org.junit.jupiter.api.Test;
 
+import io.airlift.compress.zstd.ZstdInputStream;
+
 public class ZipFileTest extends AbstractTest {
 
+    /**
+     * This Class simulates the case where the Zip File uses the 
aircompressors {@link ZstdInputStream}
+     */
+    private final class AirliftZstdZipFile extends ZipFile {
+        private boolean used;
+
+        private AirliftZstdZipFile(File file) throws IOException {

Review Comment:
   done



##########
src/test/java/org/apache/commons/compress/archivers/zip/ZipFileTest.java:
##########
@@ -66,8 +66,36 @@
 import org.junit.jupiter.api.Assumptions;
 import org.junit.jupiter.api.Test;
 
+import io.airlift.compress.zstd.ZstdInputStream;
+
 public class ZipFileTest extends AbstractTest {
 
+    /**
+     * This Class simulates the case where the Zip File uses the 
aircompressors {@link ZstdInputStream}
+     */
+    private final class AirliftZstdZipFile extends ZipFile {
+        private boolean used;
+
+        private AirliftZstdZipFile(File file) throws IOException {
+            super(file);
+        }
+
+        protected InputStream createZstdInputStream(InputStream is) throws 
IOException {

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to