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 2022/06/09 15:55:20 UTC

[commons-io] 04/06: Remove useless comments

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 b7cde0ede67b438701e536b8dd8ff5b858c03364
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jun 9 10:21:55 2022 -0400

    Remove useless comments
---
 src/test/java/org/apache/commons/io/input/BOMInputStreamTest.java | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/test/java/org/apache/commons/io/input/BOMInputStreamTest.java b/src/test/java/org/apache/commons/io/input/BOMInputStreamTest.java
index 477da117..3529025f 100644
--- a/src/test/java/org/apache/commons/io/input/BOMInputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/input/BOMInputStreamTest.java
@@ -50,9 +50,6 @@ import org.xml.sax.SAXParseException;
  */
 @SuppressWarnings("ResultOfMethodCallIgnored")
 public class BOMInputStreamTest {
-    //----------------------------------------------------------------------------
-    //  Support code
-    //----------------------------------------------------------------------------
 
     /**
      *  A mock InputStream that expects {@code close()} to be called.
@@ -157,10 +154,6 @@ public class BOMInputStreamTest {
         return new ByteArrayInputStream(data);
     }
 
-    //----------------------------------------------------------------------------
-    //  Test cases
-    //----------------------------------------------------------------------------
-
     private boolean doesSaxSupportCharacterSet(final String charSetName) throws ParserConfigurationException, SAXException, IOException {
         final DocumentBuilder documentBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
         try (final StringInputStream byteStream = new StringInputStream("<?xml version=\"1.0\" encoding=\"" + charSetName + "\"?><Z/>", charSetName)) {