From 3b523c85c16e70cf883f533b8092de5780eda396 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 15 May 2005 21:09:45 +0000 Subject: [PATCH] * java/lang/String.java (startsWith): Fixed javadoc. From-SVN: r99746 --- libjava/ChangeLog | 4 ++++ libjava/java/lang/String.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 6778d0fddf2..94ab18d8c3a 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2005-05-15 Tom Tromey + + * java/lang/String.java (startsWith): Fixed javadoc. + 2005-05-15 Tom Tromey PR java/21519: diff --git a/libjava/java/lang/String.java b/libjava/java/lang/String.java index bc69ead7163..f0d3991ea09 100644 --- a/libjava/java/lang/String.java +++ b/libjava/java/lang/String.java @@ -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 - * this.subString(toffset).startsWith(prefix). + * this.substring(toffset).startsWith(prefix). * * @param prefix String to compare * @param toffset offset for this String where comparison starts