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 5dd5303 add attribute name(s) to Code.toString() (#40)
5dd5303 is described below
commit 5dd53038cc05411497d614a66db435285ef37336
Author: Mark Roberts <[email protected]>
AuthorDate: Mon Jun 1 15:06:25 2020 -0700
add attribute name(s) to Code.toString() (#40)
---
src/main/java/org/apache/bcel/classfile/Code.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main/java/org/apache/bcel/classfile/Code.java
b/src/main/java/org/apache/bcel/classfile/Code.java
index 9525574..216026c 100644
--- a/src/main/java/org/apache/bcel/classfile/Code.java
+++ b/src/main/java/org/apache/bcel/classfile/Code.java
@@ -312,6 +312,7 @@ public final class Code extends Attribute {
if (attributes.length > 0) {
buf.append("\nAttribute(s) = ");
for (final Attribute attribute : attributes) {
+ buf.append("\n").append(attribute.getName()).append(":");
buf.append("\n").append(attribute);
}
}