You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2011/11/16 13:36:44 UTC

svn commit: r1202667 - /jmeter/trunk/src/functions/org/apache/jmeter/functions/CharFunction.java

Author: sebb
Date: Wed Nov 16 12:36:43 2011
New Revision: 1202667

URL: http://svn.apache.org/viewvc?rev=1202667&view=rev
Log:
No need to use Commons Lang StrBuilder now we target 1.5+

Modified:
    jmeter/trunk/src/functions/org/apache/jmeter/functions/CharFunction.java

Modified: jmeter/trunk/src/functions/org/apache/jmeter/functions/CharFunction.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/functions/org/apache/jmeter/functions/CharFunction.java?rev=1202667&r1=1202666&r2=1202667&view=diff
==============================================================================
--- jmeter/trunk/src/functions/org/apache/jmeter/functions/CharFunction.java (original)
+++ jmeter/trunk/src/functions/org/apache/jmeter/functions/CharFunction.java Wed Nov 16 12:36:43 2011
@@ -22,7 +22,6 @@ import java.util.Collection;
 import java.util.LinkedList;
 import java.util.List;
 
-import org.apache.commons.lang.text.StrBuilder;
 import org.apache.jmeter.engine.util.CompoundVariable;
 import org.apache.jmeter.samplers.SampleResult;
 import org.apache.jmeter.samplers.Sampler;
@@ -55,7 +54,7 @@ public class CharFunction extends Abstra
     public synchronized String execute(SampleResult previousResult, Sampler currentSampler)
             throws InvalidVariableException {
 
-        StrBuilder sb = new StrBuilder(values.length);
+        StringBuilder sb = new StringBuilder(values.length);
         for (int i=0; i < values.length; i++){
             String numberString = ((CompoundVariable) values[i]).execute().trim();
             long value = 0;