commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1524119 - in /commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2: impl/AbstractSubclassingProxyFactory.java invoker/RecordedInvocation.java
Date Tue, 17 Sep 2013 16:28:39 GMT
Author: mbenson
Date: Tue Sep 17 16:28:38 2013
New Revision: 1524119

URL: http://svn.apache.org/r1524119
Log:
s/StringBuffer/StringBuilder

Modified:
    commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractSubclassingProxyFactory.java
    commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/invoker/RecordedInvocation.java

Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractSubclassingProxyFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractSubclassingProxyFactory.java?rev=1524119&r1=1524118&r2=1524119&view=diff
==============================================================================
--- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractSubclassingProxyFactory.java
(original)
+++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/impl/AbstractSubclassingProxyFactory.java
Tue Sep 17 16:28:38 2013
@@ -128,7 +128,7 @@ public abstract class AbstractSubclassin
                 }
                 return superclass;
             default:
-                final StringBuffer errorMessage = new StringBuffer("Proxy class cannot extend
");
+                final StringBuilder errorMessage = new StringBuilder("Proxy class cannot
extend ");
                 for( int i = 0; i < superclasses.length; i++ )
                 {
                     Class<?> c = superclasses[i];

Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/invoker/RecordedInvocation.java
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/invoker/RecordedInvocation.java?rev=1524119&r1=1524118&r2=1524119&view=diff
==============================================================================
--- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/invoker/RecordedInvocation.java
(original)
+++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/invoker/RecordedInvocation.java
Tue Sep 17 16:28:38 2013
@@ -75,7 +75,7 @@ public class RecordedInvocation
      */
     public String toString()
     {
-        StringBuffer buffer = new StringBuffer();
+        StringBuilder buffer = new StringBuilder();
         buffer.append(invokedMethod.getDeclaringClass().getName());
         buffer.append(".");
         buffer.append(invokedMethod.getName());
@@ -104,7 +104,7 @@ public class RecordedInvocation
      * @param buffer
      * @param input
      */
-    protected void convert(StringBuffer buffer, Object input)
+    protected void convert(StringBuilder buffer, Object input)
     {
         if (input == null)
         {



Mime
View raw message