classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Patch: FYI: String javadoc fixlet


From: Tom Tromey
Subject: [cp-patches] Patch: FYI: String javadoc fixlet
Date: 15 May 2005 15:06:04 -0600

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  <address@hidden>

        * 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]