mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-16 00:16:04 +00:00
* java/lang/String.java (startsWith): Fixed javadoc.
From-SVN: r99746
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user