summaryrefslogtreecommitdiff
path: root/src/cldc-library
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2008-03-22 11:34:35 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2008-03-22 11:34:35 +0000
commit827c7e32c38da76d7ef41011666470cced391f49 (patch)
tree4082166f3cf37ee6323834e05f8e0d037b6a9f7b /src/cldc-library
parentc0705fc670b40710d7dc22010c5d0b2a0c21e634 (diff)
downloadscala-827c7e32c38da76d7ef41011666470cced391f49.tar.gz
scala-827c7e32c38da76d7ef41011666470cced391f49.tar.bz2
scala-827c7e32c38da76d7ef41011666470cced391f49.zip
Hopefully that fixes CLDC's incapacity to deal ...
Hopefully that fixes CLDC's incapacity to deal with floating points.
Diffstat (limited to 'src/cldc-library')
-rw-r--r--src/cldc-library/scala/runtime/BoxesRunTime.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cldc-library/scala/runtime/BoxesRunTime.java b/src/cldc-library/scala/runtime/BoxesRunTime.java
index 9374f6bce6..bab4c63524 100644
--- a/src/cldc-library/scala/runtime/BoxesRunTime.java
+++ b/src/cldc-library/scala/runtime/BoxesRunTime.java
@@ -150,14 +150,6 @@ public class BoxesRunTime {
return l == null ? 0 : ((Long)l).longValue();
}
- public static float unboxToFloat(Object f) {
- return f == null ? 0.0f : ((Float)f).floatValue();
- }
-
- public static double unboxToDouble(Object d) {
- return d == null ? 0.0d : ((Double)d).doubleValue();
- }
-
/*
public static boolean unboxToBoolean(Object b) {
if (b == null)