incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r918116 - /sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/DefaultSlingScript.java
Date Tue, 02 Mar 2010 17:22:35 GMT
Author: cziegeler
Date: Tue Mar  2 17:22:35 2010
New Revision: 918116

URL: http://svn.apache.org/viewvc?rev=918116&view=rev
Log:
Use StringBuilder instead of StringBuffer

Modified:
    sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/DefaultSlingScript.java

Modified: sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/DefaultSlingScript.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/DefaultSlingScript.java?rev=918116&r1=918115&r2=918116&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/DefaultSlingScript.java
(original)
+++ sling/trunk/bundles/scripting/core/src/main/java/org/apache/sling/scripting/core/impl/DefaultSlingScript.java
Tue Mar  2 17:22:35 2010
@@ -392,7 +392,7 @@
     }
 
     private Reader getWrapperReader(final Reader scriptReader, final String method, final
Object... args) {
-        final StringBuffer buffer = new StringBuffer(method);
+        final StringBuilder buffer = new StringBuilder(method);
         buffer.append('(');
         for(Object o : args) {
             buffer.append('"');



Mime
View raw message