From efb7b042ee10f8d62e32e924698077fda963c208 Mon Sep 17 00:00:00 2001 From: buraq Date: Thu, 15 Jul 2004 18:55:40 +0000 Subject: removed import of java.io.Serializable --- sources/scala/List.scala | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'sources') 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; -- cgit v1.2.3