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 ded3be7 Use final.
ded3be7 is described below
commit ded3be7e055e57f9de6be3cc79653698418170c2
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Nov 21 12:53:32 2020 -0500
Use final.
---
src/main/java/org/apache/bcel/verifier/statics/Pass2Verifier.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/bcel/verifier/statics/Pass2Verifier.java
b/src/main/java/org/apache/bcel/verifier/statics/Pass2Verifier.java
index 276ad8b..07c5df6 100644
--- a/src/main/java/org/apache/bcel/verifier/statics/Pass2Verifier.java
+++ b/src/main/java/org/apache/bcel/verifier/statics/Pass2Verifier.java
@@ -1049,7 +1049,7 @@ public final class Pass2Verifier extends PassVerifier
implements Constants {
int num_of_lvt_attribs = 0;
// Now iterate through the attributes the Code attribute has.
final Attribute[] atts = obj.getAttributes();
- for (Attribute att : atts) {
+ for (final Attribute att : atts) {
if ((! (att instanceof LineNumberTable)) &&
(! (att instanceof LocalVariableTable))) {
addMessage("Attribute '"+tostring(att)+"' as an attribute
of Code attribute '"+tostring(obj)+