summaryrefslogtreecommitdiff
path: root/src/library/scala/runtime/FloatRef.java
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2010-05-12 14:30:56 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2010-05-12 14:30:56 +0000
commitf9ab50b25e3dd6f1784d85e5e2322a96ade25297 (patch)
treebffd119140f1aecd7f6509b14553a0ab98d2191e /src/library/scala/runtime/FloatRef.java
parenta99710111eb3a3fc3d29ae5166e74bef214ec686 (diff)
downloadscala-f9ab50b25e3dd6f1784d85e5e2322a96ade25297.tar.gz
scala-f9ab50b25e3dd6f1784d85e5e2322a96ade25297.tar.bz2
scala-f9ab50b25e3dd6f1784d85e5e2322a96ade25297.zip
Made library build more robust when using other...
Made library build more robust when using other builder than Sabbus. I changed java sources in "scala.reflect" to use the "java.lang" prefix for boxed value types (Boolean, Integer, Character, etc.). This remove a name clash with "scala.reflect" AnyValCompanion objects of the same name. Successful IDE or SBT builds are less dependent on the compilation order of Scala and Java sources. Review by rytz.
Diffstat (limited to 'src/library/scala/runtime/FloatRef.java')
-rw-r--r--src/library/scala/runtime/FloatRef.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/runtime/FloatRef.java b/src/library/scala/runtime/FloatRef.java
index 4e32cc352f..6d8dc42458 100644
--- a/src/library/scala/runtime/FloatRef.java
+++ b/src/library/scala/runtime/FloatRef.java
@@ -17,5 +17,5 @@ public class FloatRef implements java.io.Serializable {
public float elem;
public FloatRef(float elem) { this.elem = elem; }
- public String toString() { return Float.toString(elem); }
+ public String toString() { return java.lang.Float.toString(elem); }
}