classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: Add some comment to java/io/StreamTokenizer.java


From: Ito Kazumitsu
Subject: [cp-patches] FYI: Add some comment to java/io/StreamTokenizer.java
Date: Sun, 20 Nov 2005 10:23:40 +0900 (JST)

2005-11-20  Ito Kazumitsu  <address@hidden>

        Fixes bug #22691
        * java/io/StreamTokenizer.java(parseNumbers): Added some comment.

Index: classpath/java/io/StreamTokenizer.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/io/StreamTokenizer.java,v
retrieving revision 1.19
diff -u -r1.19 StreamTokenizer.java
--- classpath/java/io/StreamTokenizer.java      2 Jul 2005 20:32:38 -0000       
1.19
+++ classpath/java/io/StreamTokenizer.java      20 Nov 2005 01:12:01 -0000
@@ -550,6 +550,12 @@
   /**
    * This method sets the numeric attribute on the characters '0' - '9' and
    * the characters '.' and '-'.
+   * When this method is used, the result of giving other attributes
+   * (whitespace, quote, or comment) to the numeric characters may
+   * vary depending on the implementation. For example, if
+   * parseNumbers() and then whitespaceChars('1', '1') are called,
+   * this implementation reads "121" as 2, while some other implementation
+   * will read it as 21.
    */
   public void parseNumbers()
   {

reply via email to

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