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


The following commit(s) were added to refs/heads/master by this push:
     new e2c722930 Fix PMD UnnecessaryFullyQualifiedName
e2c722930 is described below

commit e2c722930297af3edd5a277ea96fc38f057a1d46
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Jul 9 20:50:24 2024 -0400

    Fix PMD UnnecessaryFullyQualifiedName
---
 src/main/java/org/apache/commons/io/input/ReaderInputStream.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/io/input/ReaderInputStream.java 
b/src/main/java/org/apache/commons/io/input/ReaderInputStream.java
index 0c5177c8d..1b0ad36ea 100644
--- a/src/main/java/org/apache/commons/io/input/ReaderInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/ReaderInputStream.java
@@ -409,7 +409,7 @@ public class ReaderInputStream extends AbstractInputStream {
     @Override
     public int read() throws IOException {
         if (isClosed()) {
-            return IOUtils.EOF;
+            return EOF;
         }
         for (;;) {
             if (encoderOut.hasRemaining()) {

Reply via email to