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/11/19 13:46:32 UTC

[commons-bcel] branch master updated: Better local name

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 44a59642 Better local name
44a59642 is described below

commit 44a5964258b7bd9ddc691884ac804916a3be344d
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Nov 19 08:46:28 2022 -0500

    Better local name
---
 src/main/java/org/apache/bcel/classfile/StackMapType.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/bcel/classfile/StackMapType.java b/src/main/java/org/apache/bcel/classfile/StackMapType.java
index fcf5a064..9b5c1178 100644
--- a/src/main/java/org/apache/bcel/classfile/StackMapType.java
+++ b/src/main/java/org/apache/bcel/classfile/StackMapType.java
@@ -59,11 +59,11 @@ public final class StackMapType implements Cloneable {
         this.constantPool = constantPool;
     }
 
-    private byte checkType(final byte t) {
-        if (t < Const.ITEM_Bogus || t > Const.ITEM_NewObject) {
-            throw new IllegalArgumentException("Illegal type for StackMapType: " + t);
+    private byte checkType(final byte type) {
+        if (type < Const.ITEM_Bogus || type > Const.ITEM_NewObject) {
+            throw new IllegalArgumentException("Illegal type for StackMapType: " + type);
         }
-        return t;
+        return type;
     }
 
     /**