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/10/08 10:14:51 UTC

[commons-bcel] 01/02: Add @SuppressWarnings and comment

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 e2c266f4438368da9f5f94224e95d79213ff4109
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Oct 8 06:14:14 2022 -0400

    Add @SuppressWarnings and comment
---
 src/main/java/org/apache/bcel/generic/Instruction.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/bcel/generic/Instruction.java b/src/main/java/org/apache/bcel/generic/Instruction.java
index e76a4cdd..84fb03b4 100644
--- a/src/main/java/org/apache/bcel/generic/Instruction.java
+++ b/src/main/java/org/apache/bcel/generic/Instruction.java
@@ -533,6 +533,7 @@ public abstract class Instruction implements Cloneable {
      * @param wide "wide" instruction flag
      * @throws IOException may be thrown if the implementation needs to read data from the file
      */
+    @SuppressWarnings("unused") // thrown by subclasses
     protected void initFromFile(final ByteSequence bytes, final boolean wide) throws IOException {
     }