summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-04-10 08:41:44 +0000
committermichelou <michelou@epfl.ch>2007-04-10 08:41:44 +0000
commit4ae344ed1c8cd2cd2932e39b0fa85176774f7ec4 (patch)
treeebf31cdc50951550406e396cc3c61486da58a277 /src
parent9f27eacd5c5595288f66b701b8f59cc16b1529b0 (diff)
downloadscala-4ae344ed1c8cd2cd2932e39b0fa85176774f7ec4.tar.gz
scala-4ae344ed1c8cd2cd2932e39b0fa85176774f7ec4.tar.bz2
scala-4ae344ed1c8cd2cd2932e39b0fa85176774f7ec4.zip
removed test code
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/Predef.scala14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/library/scala/Predef.scala b/src/library/scala/Predef.scala
index d80968b760..c2fd61a124 100644
--- a/src/library/scala/Predef.scala
+++ b/src/library/scala/Predef.scala
@@ -304,20 +304,6 @@ object Predef {
implicit def double2Double(x: double) = new java.lang.Double(x)
implicit def boolean2Boolean(x: boolean) = new java.lang.Boolean(x)
- implicit def byte2Type(x: byte) = ObjectType(classOf[byte])
- implicit def short2Type(x: short) = ObjectType(classOf[short])
- implicit def char2Type(x: char) = ObjectType(classOf[char])
- implicit def int2Type(x: int) = ObjectType(classOf[int])
- implicit def long2Type(x: long) = ObjectType(classOf[long])
- implicit def float2Type(x: float) = ObjectType(classOf[float])
- implicit def double2Type(x: double) = ObjectType(classOf[double])
- implicit def boolean2Type(x: boolean) = ObjectType(classOf[boolean])
- implicit def object2Type(x: AnyRef) = ObjectType(x.getClass)
- implicit def any2Type(a: Any) = a match {
- case x: AnyRef => ObjectType(x.getClass)
- case _ => null
- }
-
def currentThread = java.lang.Thread.currentThread()
}