jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1202667 - /jmeter/trunk/src/functions/org/apache/jmeter/functions/CharFunction.java
Date Wed, 16 Nov 2011 12:36:44 GMT
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;



Mime
View raw message