OSDN Git Service

Imported GNU Classpath 0.20
[pf3gnuchains/gcc-fork.git] / libjava / classpath / java / util / StringTokenizer.java
index dcc192c..21298c7 100644 (file)
@@ -132,8 +132,7 @@ public class StringTokenizer implements Enumeration
   {
     len = str.length();
     this.str = str;
-    // The toString() hack causes the NullPointerException.
-    this.delim = delim.toString();
+    this.delim = delim;
     this.retDelims = returnDelims;
     this.pos = 0;
   }