commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1696347 - /commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Code.java
Date Mon, 17 Aug 2015 22:00:19 GMT
Author: sebb
Date: Mon Aug 17 22:00:19 2015
New Revision: 1696347

URL: http://svn.apache.org/r1696347
Log:
Drop trailing newline

Modified:
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Code.java

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Code.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Code.java?rev=1696347&r1=1696346&r2=1696347&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Code.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/Code.java Mon
Aug 17 22:00:19 2015
@@ -312,9 +312,9 @@ public final class Code extends Attribut
             }
         }
         if (attributes.length > 0) {
-            buf.append("\nAttribute(s) = \n");
+            buf.append("\nAttribute(s) = ");
             for (Attribute attribute : attributes) {
-                buf.append(attribute.toString()).append("\n");
+                buf.append("\n").append(attribute.toString());
             }
         }
         return buf.toString();



Mime
View raw message