diff options
Diffstat (limited to 'src/library/scalax/collection/generic/Cloneable.scala')
-rw-r--r-- | src/library/scalax/collection/generic/Cloneable.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/library/scalax/collection/generic/Cloneable.scala b/src/library/scalax/collection/generic/Cloneable.scala index 455c88e47b..acf9a16686 100644 --- a/src/library/scalax/collection/generic/Cloneable.scala +++ b/src/library/scalax/collection/generic/Cloneable.scala @@ -9,10 +9,11 @@ // $Id: CloneableCollection.scala 16893 2009-01-13 13:09:22Z cunei $ -package scala.collection.generic +package scalax.collection.generic /** A trait for cloneable collections. */ -trait Cloneable[A <: AnyRef] extends java.lang.Cloneable { +@cloneable +trait Cloneable[A <: AnyRef] { override def clone(): A = super.clone().asInstanceOf[A] } |