commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject [commons-compress] 02/06: Format tweaks.
Date Sat, 25 Jan 2020 16:55:32 GMT
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 <garydgregory@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)


Mime
View raw message