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

From-SVN: r99746
This commit is contained in:
Tom Tromey 2005-05-15 21:09:45 +00:00 committed by Tom Tromey
parent d7f35e4832
commit 3b523c85c1
2 changed files with 5 additions and 1 deletions

View 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:

View 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