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

commit f347b987e1c4e547804bd6f14d7cacdd3ffc1472
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Jan 4 10:28:07 2026 -0500

    Use a code comment
---
 src/main/java/org/apache/bcel/classfile/ClassParser.java | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/bcel/classfile/ClassParser.java 
b/src/main/java/org/apache/bcel/classfile/ClassParser.java
index 9c148490..55e9805c 100644
--- a/src/main/java/org/apache/bcel/classfile/ClassParser.java
+++ b/src/main/java/org/apache/bcel/classfile/ClassParser.java
@@ -125,19 +125,19 @@ public final class ClassParser {
                     dataInputStream = new DataInputStream(new 
BufferedInputStream(new FileInputStream(fileName), BUFSIZE));
                 }
             }
-            /****************** Read headers ********************************/
+            // -- Read headers --
             // Check magic tag of class file
             readID();
             // Get compiler version
             readVersion();
-            /****************** Read constant pool and related **************/
+            // -- Read constant pool and related **************/
             // Read constant pool entries
             readConstantPool();
             // Get class information
             readClassInfo();
             // Get interface information, i.e., implemented interfaces
             readInterfaces();
-            /****************** Read class fields and methods ***************/
+            // -- Read class fields and methods --
             // Read class fields, i.e., the variables of the class
             readFields();
             // Read class methods, i.e., the functions in the class
@@ -229,7 +229,6 @@ public final class ClassParser {
         }
     }
 
-    /******************** Private utility methods **********************/
     /**
      * Checks whether the header of the file is ok. Of course, this has to be 
the first action on successive file reads.
      *

Reply via email to