* java/lang/String.java (startsWith): Fixed javadoc.
From-SVN: r99746
This commit is contained in:
parent
d7f35e4832
commit
3b523c85c1
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user