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


##########
src/main/java/org/apache/commons/compress/compressors/zstandard/ZstdUtils.java:
##########
@@ -28,7 +31,31 @@
  */
 public class ZstdUtils {
 
-    enum CachedAvailability {
+    private static final class SizeMeasurementOutputStream extends 
OutputStream {
+        long size = 0;
+        private OutputStream out;
+
+        public SizeMeasurementOutputStream() { }
+
+        /**
+         * Can be null, if the output data should be counted. The close of 
this stream wont close its delegated output stream.
+         * 
+         * @param delegate the output stream to which the output will be 
delegated
+         */
+        public SizeMeasurementOutputStream(OutputStream delegate) {

Review Comment:
   obsolete .. deleted



-- 
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