diff options
author | buraq <buraq@epfl.ch> | 2004-07-15 18:55:40 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2004-07-15 18:55:40 +0000 |
commit | efb7b042ee10f8d62e32e924698077fda963c208 (patch) | |
tree | b8d453939dbd75a06e62b226073fb23d9773ebef /sources | |
parent | 9633437d12fdc09a66f9d3e28114fa002875cad6 (diff) | |
download | scala-efb7b042ee10f8d62e32e924698077fda963c208.tar.gz scala-efb7b042ee10f8d62e32e924698077fda963c208.tar.bz2 scala-efb7b042ee10f8d62e32e924698077fda963c208.zip |
removed import of java.io.Serializable
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scala/List.scala | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sources/scala/List.scala b/sources/scala/List.scala index fec4ac4ed6..00b3bcf446 100644 --- a/sources/scala/List.scala +++ b/sources/scala/List.scala @@ -9,9 +9,6 @@ package scala; -import java.io.Serializable; - - /** This object provides methods for creating specialized lists, and for * transforming special kinds of lists (e.g. lists of lists). * @@ -771,7 +768,7 @@ sealed trait List[+a] extends Seq[a] { * @author Martin Odersky * @version 1.0, 15/07/2003 */ -case object Nil extends List[All] with Serializable { +case object Nil extends List[All] with java.io.Serializable { private val serialVersionUID = 0 - 8256821097970055419L; def isEmpty = true; def head: All = error("head of empty list"); @@ -783,7 +780,7 @@ case object Nil extends List[All] with Serializable { * @author Martin Odersky * @version 1.0, 15/07/2003 */ -final case class ::[b](hd: b, tl: List[b]) extends List[b] with Serializable { +final case class ::[b](hd: b, tl: List[b]) extends List[b] with java.io.Serializable { private val serialVersionUID = 0 - 8476791151983527571L; def isEmpty: boolean = false; def head: b = hd; |