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-io.git

commit ed84dc3b0a6ccafeb36f3a82baacb486ade51b0f
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Mon Dec 6 22:17:53 2021 -0500

    Remove trailing whitespace.
---
 src/main/java/org/apache/commons/io/input/ReadAheadInputStream.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/io/input/ReadAheadInputStream.java 
b/src/main/java/org/apache/commons/io/input/ReadAheadInputStream.java
index 4d34357..556198f 100644
--- a/src/main/java/org/apache/commons/io/input/ReadAheadInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/ReadAheadInputStream.java
@@ -283,7 +283,7 @@ public class ReadAheadInputStream extends InputStream {
         return len;
     }
 
-    /** 
+    /**
      * Read data from underlyingInputStream to readAheadBuffer asynchronously.
      *
      * @throws IOException if an I/O error occurs.
@@ -351,7 +351,7 @@ public class ReadAheadInputStream extends InputStream {
                 stateChangeLock.lock();
                 try {
                     readAheadBuffer.limit(off);
-                    if (read < 0 || (exception instanceof EOFException)) {
+                    if (read < 0 || exception instanceof EOFException) {
                         endOfStream = true;
                     } else if (exception != null) {
                         readAborted = true;

Reply via email to