diff options
author | michelou <michelou@epfl.ch> | 2004-09-29 16:05:18 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2004-09-29 16:05:18 +0000 |
commit | 52877fa8cb607d4b4f9825fca9f96dc0f4d1a35d (patch) | |
tree | b8eb7f20a339ccf52cd70812e2d7012e792e366f /sources | |
parent | 99b207b1d792bb537de4acbd030868ba639a0c80 (diff) | |
download | scala-52877fa8cb607d4b4f9825fca9f96dc0f4d1a35d.tar.gz scala-52877fa8cb607d4b4f9825fca9f96dc0f4d1a35d.tar.bz2 scala-52877fa8cb607d4b4f9825fca9f96dc0f4d1a35d.zip |
- serialization test of Scala collection classes.
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scala/collection/mutable/DefaultMapModel.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scala/collection/mutable/DefaultMapModel.scala b/sources/scala/collection/mutable/DefaultMapModel.scala index 7b2893a13e..d6d1227a15 100644 --- a/sources/scala/collection/mutable/DefaultMapModel.scala +++ b/sources/scala/collection/mutable/DefaultMapModel.scala @@ -1,6 +1,6 @@ /* __ *\ ** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2003, LAMP/EPFL ** +** / __/ __// _ | / / / _ | (c) 2003-2004, LAMP/EPFL ** ** __\ \/ /__/ __ |/ /__/ __ | ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** @@ -41,7 +41,7 @@ trait DefaultMapModel[A, B] extends scala.collection.mutable.Map[A, B] { def next = iter.next.toPair; } - protected class Entry(k: A, v: B) { + protected class Entry(k: A, v: B) with java.io.Serializable { def key = k; var value = v; def toPair = Pair(k, value); |