Patch: FYI: String javadoc fixlet

Tom Tromey tromey@redhat.com
Sun May 15 21:09:00 GMT 2005


I'm checking this in on the trunk and in GNU Classpath.

This fixes a small typo in the javadoc in String.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

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

Index: java/lang/String.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/lang/String.java,v
retrieving revision 1.64
diff -u -r1.64 String.java
--- java/lang/String.java 18 Apr 2005 11:18:52 -0000 1.64
+++ java/lang/String.java 15 May 2005 21:08:22 -0000
@@ -1,5 +1,5 @@
 /* String.java -- immutable character sequences; the object of string literals
-   Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+   Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005
    Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
@@ -894,7 +894,7 @@
    * 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



More information about the Java-patches mailing list