This is an automated email from the ASF dual-hosted git repository.

sebb 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 faba736f Avoid a spotbugs complaint [skip ci]
faba736f is described below

commit faba736fb7ff57c422e19726aba63a31c311b2b7
Author: Sebb <s...@apache.org>
AuthorDate: Sun Dec 17 00:05:16 2023 +0000

    Avoid a spotbugs complaint [skip ci]
---
 src/main/java/org/apache/bcel/generic/InstructionList.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/main/java/org/apache/bcel/generic/InstructionList.java 
b/src/main/java/org/apache/bcel/generic/InstructionList.java
index c373e3b3..ca053e44 100644
--- a/src/main/java/org/apache/bcel/generic/InstructionList.java
+++ b/src/main/java/org/apache/bcel/generic/InstructionList.java
@@ -1129,6 +1129,9 @@ public class InstructionList implements 
Iterable<InstructionHandle> {
             case Const.LOOKUPSWITCH:
                 maxAdditionalBytes += 3;
                 break;
+            default:
+                // TODO should this be an error?
+                break;
             }
             index += i.getLength();
         }

Reply via email to