/[classpath]/classpath/java/lang/Double.java
ViewVC logotype

Diff of /classpath/java/lang/Double.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.30 by ericb, Mon Feb 25 20:02:58 2002 UTC revision 1.31 by mark, Thu Oct 10 13:38:21 2002 UTC
# Line 191  public final class Double extends Number Line 191  public final class Double extends Number
191     */     */
192    public static Double valueOf(String s)    public static Double valueOf(String s)
193    {    {
194      // XXX just call new Double(parseDouble(s));      return new Double(parseDouble(s));
     if (s == null)  
       throw new NullPointerException();  
     return new Double(s);  
195    }    }
196    
197    /**    /**

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26