diff options
author | michelou <michelou@epfl.ch> | 2007-02-07 12:48:43 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-02-07 12:48:43 +0000 |
commit | 15d4afe9ebe876f6630ff6718677776b1960c9b0 (patch) | |
tree | 3759c2c09951284f8cd28a24b93a33863960a60a /src/library | |
parent | 852ff5c25c9eaaab4fde01b9a1c26b4778c47bcc (diff) | |
download | scala-15d4afe9ebe876f6630ff6718677776b1960c9b0.tar.gz scala-15d4afe9ebe876f6630ff6718677776b1960c9b0.tar.bz2 scala-15d4afe9ebe876f6630ff6718677776b1960c9b0.zip |
updated deprecated methods
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/ref/PhantomReference.scala | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/library/scala/ref/PhantomReference.scala b/src/library/scala/ref/PhantomReference.scala index 06216df3eb..39eb754081 100644 --- a/src/library/scala/ref/PhantomReference.scala +++ b/src/library/scala/ref/PhantomReference.scala @@ -1,5 +1,15 @@ -package scala.ref; +/* __ *\ +** ________ ___ / / ___ Scala API ** +** / __/ __// _ | / / / _ | (c) 2003-2007, LAMP/EPFL ** +** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** +** /____/\___/_/ |_/____/_/ | | ** +** |/ ** +\* */ + +// $Id$ + +package scala.ref class PhantomReference[+T <: AnyRef](value : T, queue : ReferenceQueue[T]) extends ReferenceWrapper[T] { - val underlying = new java.lang.ref.PhantomReference(value, queue.underlying); + val underlying = new java.lang.ref.PhantomReference(value, queue.underlying) } |