commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1211783 - /commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/RecordedInvocation.java
Date Thu, 08 Dec 2011 08:14:54 GMT
Author: simonetripodi
Date: Thu Dec  8 08:14:54 2011
New Revision: 1211783

URL: http://svn.apache.org/viewvc?rev=1211783&view=rev
Log:
migrated StringBuffer to StringBuilder

Modified:
    commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/RecordedInvocation.java

Modified: commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/RecordedInvocation.java
URL: http://svn.apache.org/viewvc/commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/RecordedInvocation.java?rev=1211783&r1=1211782&r2=1211783&view=diff
==============================================================================
--- commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/RecordedInvocation.java
(original)
+++ commons/proper/digester/trunk/src/main/java/org/apache/commons/digester3/RecordedInvocation.java
Thu Dec  8 08:14:54 2011
@@ -80,7 +80,7 @@ final class RecordedInvocation
      */
     public String toString()
     {
-        StringBuffer buffer = new StringBuffer();
+        StringBuilder buffer = new StringBuilder();
         buffer.append( invokedMethod.getDeclaringClass().getName() );
         buffer.append( "." );
         buffer.append( invokedMethod.getName() );
@@ -105,7 +105,7 @@ final class RecordedInvocation
      * @param buffer the buffer to append the string representation of the input object.
      * @param input the input object has to be serialized to string.
      */
-    protected void convert( StringBuffer buffer, Object input )
+    protected void convert( StringBuilder buffer, Object input )
     {
         if ( input == null )
         {



Mime
View raw message