You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2011/11/17 22:26:58 UTC

svn commit: r1203372 - /jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java

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