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 da88ecec Remove noisy inline comments.
da88ecec is described below

commit da88ececdfc583b7dde88bea1a9140ccf0397309
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Tue May 31 10:55:19 2022 -0400

    Remove noisy inline comments.
---
 src/main/java/org/apache/commons/io/CopyUtils.java  | 21 ---------------------
 .../org/apache/commons/io/input/BOMInputStream.java |  4 ----
 2 files changed, 25 deletions(-)

diff --git a/src/main/java/org/apache/commons/io/CopyUtils.java 
b/src/main/java/org/apache/commons/io/CopyUtils.java
index b90789c0..b823028b 100644
--- a/src/main/java/org/apache/commons/io/CopyUtils.java
+++ b/src/main/java/org/apache/commons/io/CopyUtils.java
@@ -191,10 +191,6 @@ public class CopyUtils {
         copy(in, output);
     }
 
-    // ----------------------------------------------------------------
-    // Reader -> Writer
-    // ----------------------------------------------------------------
-
     /**
      * Copies and convert bytes from an {@code InputStream} to chars on a
      * {@code Writer}, using the specified encoding.
@@ -214,10 +210,6 @@ public class CopyUtils {
         copy(in, output);
     }
 
-    // ----------------------------------------------------------------
-    // InputStream -> Writer
-    // ----------------------------------------------------------------
-
     /**
      * Serialize chars from a {@code Reader} to bytes on an
      * {@code OutputStream}, and flush the {@code OutputStream}.
@@ -263,11 +255,6 @@ public class CopyUtils {
         out.flush();
     }
 
-
-    // ----------------------------------------------------------------
-    // Reader -> OutputStream
-    // ----------------------------------------------------------------
-
     /**
      * Copies chars from a {@code Reader} to a {@code Writer}.
      * @param input the {@code Reader} to read from
@@ -313,10 +300,6 @@ public class CopyUtils {
         out.flush();
     }
 
-    // ----------------------------------------------------------------
-    // String -> OutputStream
-    // ----------------------------------------------------------------
-
     /**
      * Serialize chars from a {@code String} to bytes on an
      * {@code OutputStream}, and
@@ -353,10 +336,6 @@ public class CopyUtils {
         output.write(input);
     }
 
-    // ----------------------------------------------------------------
-    // String -> Writer
-    // ----------------------------------------------------------------
-
     /**
      * Instances should NOT be constructed in standard programming.
      */
diff --git a/src/main/java/org/apache/commons/io/input/BOMInputStream.java 
b/src/main/java/org/apache/commons/io/input/BOMInputStream.java
index 4dff715b..85043d53 100644
--- a/src/main/java/org/apache/commons/io/input/BOMInputStream.java
+++ b/src/main/java/org/apache/commons/io/input/BOMInputStream.java
@@ -290,10 +290,6 @@ public class BOMInputStream extends ProxyInputStream {
         return true;
     }
 
-    // 
----------------------------------------------------------------------------
-    // Implementation of InputStream
-    // 
----------------------------------------------------------------------------
-
     /**
      * Invokes the delegate's {@code read()} method, detecting and optionally 
skipping BOM.
      *

Reply via email to