Commit 3b523c85 by Tom Tromey Committed by Tom Tromey

* java/lang/String.java (startsWith): Fixed javadoc.

From-SVN: r99746
parent d7f35e48
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:
* testsuite/libjava.compile/pr21519.java: New file.
* testsuite/libjava.compile/pr21519.no-link: New 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment