classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: StringCharacterIterator, small API doc addition


From: David Gilbert
Subject: [cp-patches] FYI: StringCharacterIterator, small API doc addition
Date: Thu, 18 Aug 2005 14:27:06 +0000
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050728)

I committed this patch:

2005-08-18  David Gilbert  <address@hidden>

        * java/text/StringCharacterIterator.java
        (StringCharacterIterator(String)): documented NullPointerException.

Regards,

Dave
Index: java/text/StringCharacterIterator.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/text/StringCharacterIterator.java,v
retrieving revision 1.10
diff -u -r1.10 StringCharacterIterator.java
--- java/text/StringCharacterIterator.java      23 Jul 2005 20:25:15 -0000      
1.10
+++ java/text/StringCharacterIterator.java      18 Aug 2005 13:22:30 -0000
@@ -76,7 +76,10 @@
    * text of the specified <code>String</code>.  The initial index
    * value will be set to the first character in the string.
    *
-   * @param text The <code>String</code> to iterate through.
+   * @param text The <code>String</code> to iterate through (<code>null</code> 
+   *             not permitted).
+   * 
+   * @throws NullPointerException if <code>text</code> is <code>null</code>.
    */
   public StringCharacterIterator (String text)
   {

reply via email to

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