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 2022/05/05 20:19:50 UTC

[commons-compress] 01/05: No console output.

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 c1faef46726be4ce43ccff8d20fe834dd521fdcf
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu May 5 16:10:28 2022 -0400

    No console output.
---
 .../apache/commons/compress/compressors/FramedSnappyTestCase.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/test/java/org/apache/commons/compress/compressors/FramedSnappyTestCase.java b/src/test/java/org/apache/commons/compress/compressors/FramedSnappyTestCase.java
index cf3da2a8..6fd16b22 100644
--- a/src/test/java/org/apache/commons/compress/compressors/FramedSnappyTestCase.java
+++ b/src/test/java/org/apache/commons/compress/compressors/FramedSnappyTestCase.java
@@ -100,8 +100,8 @@ public final class FramedSnappyTestCase
             sos.write(b[0]);
             sos.write(b, 1, b.length - 1); // must be split into multiple compressed chunks
         }
-        System.err.println(input.getName() + " written, uncompressed bytes: " + input.length()
-            + ", compressed bytes: " + outputSz.length() + " after " + (System.currentTimeMillis() - start) + "ms");
+        // System.err.println(input.getName() + " written, uncompressed bytes: " + input.length()
+        //    + ", compressed bytes: " + outputSz.length() + " after " + (System.currentTimeMillis() - start) + "ms");
         try (InputStream is = Files.newInputStream(input.toPath());
              CompressorInputStream sis = new CompressorStreamFactory()
                  .createCompressorInputStream("snappy-framed", Files.newInputStream(outputSz.toPath()))) {
@@ -120,8 +120,8 @@ public final class FramedSnappyTestCase
                  .createCompressorOutputStream("snappy-framed", os)) {
             IOUtils.copy(is, sos);
         }
-        System.err.println(input.getName() + " written, uncompressed bytes: " + input.length()
-            + ", compressed bytes: " + outputSz.length() + " after " + (System.currentTimeMillis() - start) + "ms");
+        // System.err.println(input.getName() + " written, uncompressed bytes: " + input.length()
+        //    + ", compressed bytes: " + outputSz.length() + " after " + (System.currentTimeMillis() - start) + "ms");
         try (InputStream is = Files.newInputStream(input.toPath());
              CompressorInputStream sis = new CompressorStreamFactory()
                  .createCompressorInputStream("snappy-framed", Files.newInputStream(outputSz.toPath()))) {