summaryrefslogtreecommitdiffstats
path: root/libjava/java/util/StringTokenizer.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/util/StringTokenizer.java')
-rw-r--r--libjava/java/util/StringTokenizer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/util/StringTokenizer.java b/libjava/java/util/StringTokenizer.java
index b55c8f7714c..1686a0399e8 100644
--- a/libjava/java/util/StringTokenizer.java
+++ b/libjava/java/util/StringTokenizer.java
@@ -180,6 +180,6 @@ public class StringTokenizer implements Enumeration
// more readable this way, so we'll take the hit on efficiency.
private boolean isDelimiter(char ch)
{
- return delimiters.indexOf(ch) >= 0;
+ return delimiters.indexOf(ch, 0) >= 0;
}
}
OpenPOWER on IntegriCloud