summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/Cloneable.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/collection/mutable/Cloneable.scala')
-rw-r--r--src/library/scala/collection/mutable/Cloneable.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/library/scala/collection/mutable/Cloneable.scala b/src/library/scala/collection/mutable/Cloneable.scala
index 15c245fde0..28bf2ceb8e 100644
--- a/src/library/scala/collection/mutable/Cloneable.scala
+++ b/src/library/scala/collection/mutable/Cloneable.scala
@@ -18,6 +18,7 @@ package mutable
* @tparam A Type of the elements contained in the collection, covariant and with reference types as upperbound.
*/
@cloneable
-trait Cloneable[+A <: AnyRef] {
+trait Cloneable[+A <: AnyRef] {
+ // !!! why doesn't this extend java.lang.Cloneable?
override def clone: A = super.clone().asInstanceOf[A]
}