Commit 260e1a2b by Tom Tromey Committed by Tom Tromey

* java/lang/Double.java (valueOf): Call parseDouble().

From-SVN: r34737
parent 4afdac6d
2000-06-27 Tom Tromey <tromey@cygnus.com>
* java/lang/Double.java (valueOf): Call parseDouble().
2000-06-26 Warren Levy <warrenl@cygnus.com>
* java/beans/PropertyChangeEvent.java (oldVal): Renamed to oldValue.
......
......@@ -112,7 +112,7 @@ public final class Double extends Number
if (s == null)
throw new NullPointerException ();
return new Double (doubleValueOf (s));
return new Double (parseDouble (s));
}
public boolean isNaN ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment