diff options
Diffstat (limited to 'src/library/scala/collection/immutable/ListMap.scala')
-rw-r--r-- | src/library/scala/collection/immutable/ListMap.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/library/scala/collection/immutable/ListMap.scala b/src/library/scala/collection/immutable/ListMap.scala index 53c99216c2..5fced699f3 100644 --- a/src/library/scala/collection/immutable/ListMap.scala +++ b/src/library/scala/collection/immutable/ListMap.scala @@ -42,8 +42,8 @@ object ListMap extends ImmutableMapFactory[ListMap] { * @define mayNotTerminateInf * @define willNotTerminateInf */ -@serializable @SerialVersionUID(301002838095710379L) -class ListMap[A, +B] extends Map[A, B] with MapLike[A, B, ListMap[A, B]] { +@SerialVersionUID(301002838095710379L) +class ListMap[A, +B] extends Map[A, B] with MapLike[A, B, ListMap[A, B]] with Serializable { override def empty = ListMap.empty @@ -123,9 +123,9 @@ class ListMap[A, +B] extends Map[A, B] with MapLike[A, B, ListMap[A, B]] { /** This class represents an entry in the `ListMap`. */ - @serializable @SerialVersionUID(-6453056603889598734L) + @SerialVersionUID(-6453056603889598734L) protected class Node[B1 >: B](override protected val key: A, - override protected val value: B1) extends ListMap[A, B1] { + override protected val value: B1) extends ListMap[A, B1] with Serializable { /** Returns the number of mappings in this map. * * @return number of mappings. |