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


The following commit(s) were added to refs/heads/master by this push:
     new 556b922f Remove unhelpful comment
556b922f is described below

commit 556b922ffce9ef1462cf27b23ec7c206b67061ce
Author: Gary David Gregory (Code signing key) <ggreg...@apache.org>
AuthorDate: Sun Nov 20 09:56:00 2022 -0500

    Remove unhelpful comment
---
 src/main/java/org/apache/bcel/classfile/ConstantPool.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/apache/bcel/classfile/ConstantPool.java 
b/src/main/java/org/apache/bcel/classfile/ConstantPool.java
index 410da1c3..b744a2bc 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantPool.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantPool.java
@@ -373,7 +373,6 @@ public class ConstantPool implements Cloneable, Node, 
Iterable<Constant> {
             break;
         case Const.CONSTANT_Utf8:
             return getConstantUtf8(index).getBytes();
-        // fallthrough
         default:
             throw new IllegalArgumentException("getConstantString called with 
illegal tag " + tag);
         }

Reply via email to