From f9ab50b25e3dd6f1784d85e5e2322a96ade25297 Mon Sep 17 00:00:00 2001 From: Gilles Dubochet Date: Wed, 12 May 2010 14:30:56 +0000 Subject: 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. --- src/library/scala/runtime/FloatRef.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/library/scala/runtime/FloatRef.java') 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); } } -- cgit v1.2.3