jdk/src/share/classes/java/util/regex/Matcher.java
changeset 51 6fe31bc95bbc
parent 2 90ce3da70b43
child 715 f16baef3a20e
--- a/jdk/src/share/classes/java/util/regex/Matcher.java	Mon Mar 10 14:32:51 2008 -0700
+++ b/jdk/src/share/classes/java/util/regex/Matcher.java	Mon Mar 10 15:07:09 2008 -0700
@@ -249,7 +249,7 @@
         Matcher result = new Matcher(this.parentPattern, text.toString());
         result.first = this.first;
         result.last = this.last;
-        result.groups = (int[])(this.groups.clone());
+        result.groups = this.groups.clone();
         return result;
     }