diff options
author | mihaylov <mihaylov@epfl.ch> | 2005-06-07 15:25:50 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2005-06-07 15:25:50 +0000 |
commit | abf0edeaf30a0b27cc1dde0c493b1f082850a3a4 (patch) | |
tree | bb8d77507af02ca9f435dd711dbbcae0c3871d25 | |
parent | 82365dd142d95c96e560ff2b73f41e73c0f30c4a (diff) | |
download | scala-abf0edeaf30a0b27cc1dde0c493b1f082850a3a4.tar.gz scala-abf0edeaf30a0b27cc1dde0c493b1f082850a3a4.tar.bz2 scala-abf0edeaf30a0b27cc1dde0c493b1f082850a3a4.zip |
Use the scala.SerialVersionUID attribute to set...
Use the scala.SerialVersionUID attribute to set the serialVersionUID
field
-rw-r--r-- | sources/scala/List.scala | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sources/scala/List.scala b/sources/scala/List.scala index 53bb24b1e8..7f7e1c2c7a 100644 --- a/sources/scala/List.scala +++ b/sources/scala/List.scala @@ -892,8 +892,6 @@ sealed trait List[+a] extends Seq[a] { // todo make sealed once we figure out ho */ [SerialVersionUID(0 - 8256821097970055419L)] case object Nil extends List[All] { - // still needed - the backend doesn't recognize the SerialVersionUID attribute - private val serialVersionUID = 0 - 8256821097970055419L; def isEmpty = true; def head: All = error("head of empty list"); def tail: List[All] = error("tail of empty list"); @@ -906,8 +904,6 @@ case object Nil extends List[All] { */ [SerialVersionUID(0 - 8476791151983527571L)] final case class ::[+b](hd: b, tl: List[b]) extends List[b] { - // still needed - the backend doesn't recognize the SerialVersionUID attribute - private val serialVersionUID = 0 - 8476791151983527571L; def isEmpty: boolean = false; def head: b = hd; def tail: List[b] = tl; |