commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject svn commit: r1152074 - /commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationElementValue.java
Date Fri, 29 Jul 2011 02:05:56 GMT
Author: dbrosius
Date: Fri Jul 29 02:05:55 2011
New Revision: 1152074

URL: http://svn.apache.org/viewvc?rev=1152074&view=rev
Log:
simplify

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

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationElementValue.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationElementValue.java?rev=1152074&r1=1152073&r2=1152074&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationElementValue.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationElementValue.java
Fri Jul 29 02:05:55 2011
@@ -45,9 +45,7 @@ public class AnnotationElementValue exte
         @Override
         public String stringifyValue()
         {
-                StringBuffer sb = new StringBuffer();
-                sb.append(annotationEntry.toString());
-                return sb.toString();
+                return annotationEntry.toString();
         }
 
         @Override



Mime
View raw message