jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1203372 - /jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java
Date Thu, 17 Nov 2011 21:26:58 GMT
Author: pmouawad
Date: Thu Nov 17 21:26:58 2011
New Revision: 1203372

URL: http://svn.apache.org/viewvc?rev=1203372&view=rev
Log:
Removed unused method

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java?rev=1203372&r1=1203371&r2=1203372&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java Thu Nov 17 21:26:58 2011
@@ -39,7 +39,6 @@ import java.util.MissingResourceExceptio
 import java.util.Properties;
 import java.util.Random;
 import java.util.ResourceBundle;
-import java.util.StringTokenizer;
 import java.util.Vector;
 
 import javax.swing.ImageIcon;
@@ -932,25 +931,6 @@ public class JMeterUtils implements Unit
     }
 
     /**
-     * Tokenize a string into a vector of tokens
-     *
-     * @param string
-     *            Description of Parameter
-     * @param separator
-     *            Description of Parameter
-     * @return Description of the Returned Value
-     */
-    //TODO move to JOrphanUtils ?
-    public static Vector<String> tokenize(String string, String separator) {
-        Vector<String> v = new Vector<String>();
-        StringTokenizer s = new StringTokenizer(string, separator);
-        while (s.hasMoreTokens()) {
-            v.addElement(s.nextToken());
-        }
-        return v;
-    }
-
-    /**
      * Create a button with the netscape style
      *
      * @param name



Mime
View raw message