From cf036e712cdd515d1fed36a58023926e0dabb1aa Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 24 Jun 2000 18:11:01 +0000 Subject: natDouble.cc (parseDouble): Renamed from doubleValueOf. * java/lang/natDouble.cc (parseDouble): Renamed from doubleValueOf. * java/lang/Double.java (parseDouble): Renamed from doubleValueOf. Now public. From-SVN: r34679 --- libjava/java/lang/Double.java | 6 +++--- libjava/java/lang/natDouble.cc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libjava/java') diff --git a/libjava/java/lang/Double.java b/libjava/java/lang/Double.java index 4613e78..e622924 100644 --- a/libjava/java/lang/Double.java +++ b/libjava/java/lang/Double.java @@ -1,4 +1,4 @@ -/* Copyright (C) 1998, 1999 Free Software Foundation +/* Copyright (C) 1998, 1999, 2000 Free Software Foundation This file is part of libgcj. @@ -32,8 +32,8 @@ public final class Double extends Number private double value; - private native static double doubleValueOf (String s) - throws NumberFormatException; + public native static double parseDouble (String s) + throws NumberFormatException; public Double (double v) { diff --git a/libjava/java/lang/natDouble.cc b/libjava/java/lang/natDouble.cc index f37060f..9e78655 100644 --- a/libjava/java/lang/natDouble.cc +++ b/libjava/java/lang/natDouble.cc @@ -151,7 +151,7 @@ java::lang::Double::toString(jdouble value, jboolean isFloat) } jdouble -java::lang::Double::doubleValueOf(jstring str) +java::lang::Double::parseDouble(jstring str) { int length = str->length(); // Note that UTF can expand 3x. -- cgit v1.1