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 2020/01/25 16:55:32 UTC

[commons-compress] 02/06: Format tweaks.

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 ea129b4a677c3f1f40a3c183f82188f770c52c6c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jan 25 11:24:24 2020 -0500

    Format tweaks.
---
 .../java/org/apache/commons/compress/utils/CountingInputStream.java    | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/main/java/org/apache/commons/compress/utils/CountingInputStream.java b/src/main/java/org/apache/commons/compress/utils/CountingInputStream.java
index 2184564..4f59a9e 100644
--- a/src/main/java/org/apache/commons/compress/utils/CountingInputStream.java
+++ b/src/main/java/org/apache/commons/compress/utils/CountingInputStream.java
@@ -42,10 +42,12 @@ public class CountingInputStream extends FilterInputStream {
         }
         return r;
     }
+
     @Override
     public int read(final byte[] b) throws IOException {
         return read(b, 0, b.length);
     }
+
     @Override
     public int read(final byte[] b, final int off, final int len) throws IOException {
         if (len == 0) {
@@ -57,6 +59,7 @@ public class CountingInputStream extends FilterInputStream {
         }
         return r;
     }
+
     /**
      * Increments the counter of already read bytes.
      * Doesn't increment if the EOF has been hit (read == -1)