* java/lang/String.java (startsWith): Fixed javadoc.
authorTom Tromey <tromey@redhat.com>
Sun, 15 May 2005 21:09:45 +0000 (21:09 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Sun, 15 May 2005 21:09:45 +0000 (21:09 +0000)
From-SVN: r99746

libjava/ChangeLog
libjava/java/lang/String.java

index 6778d0fddf2633842ceea801ff3a9d8ad9771718..94ab18d8c3ae508e6ff75f0939d87de03625db50 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-15  Tom Tromey  <tromey@redhat.com>
+
+       * java/lang/String.java (startsWith): Fixed javadoc.
+
 2005-05-15  Tom Tromey  <tromey@redhat.com>
 
        PR java/21519:
index bc69ead7163d04714eea7da5dd6dc12538e25237..f0d3991ea09108de20ffc7ad5298fc677c605c68 100644 (file)
@@ -676,7 +676,7 @@ public final class String implements Serializable, Comparable, CharSequence
    * Predicate which determines if this String contains the given prefix,
    * beginning comparison at toffset. The result is false if toffset is
    * negative or greater than this.length(), otherwise it is the same as
-   * <code>this.subString(toffset).startsWith(prefix)</code>.
+   * <code>this.substring(toffset).startsWith(prefix)</code>.
    *
    * @param prefix String to compare
    * @param toffset offset for this String where comparison starts