From 34f5d3b6140692370ff732ec04180c5589a0e515 Mon Sep 17 00:00:00 2001 From: Josh Lemer Date: Fri, 26 Apr 2019 12:37:04 -0500 Subject: [PATCH] Deprecate scala.collection.mutable.MultiMap --- src/library/scala/collection/mutable/MultiMap.scala | 1 + test/files/run/t2857.check | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/library/scala/collection/mutable/MultiMap.scala b/src/library/scala/collection/mutable/MultiMap.scala index 8a34eab2f000..cc7c3f22989e 100644 --- a/src/library/scala/collection/mutable/MultiMap.scala +++ b/src/library/scala/collection/mutable/MultiMap.scala @@ -51,6 +51,7 @@ package scala.collection.mutable * @define Coll `MultiMap` * @since 1 */ +@deprecated("Use a scala.collection.mutable.MultiDict in the scala-collection-contrib module", "2.13.0") trait MultiMap[K, V] extends Map[K, Set[V]] { /** Creates a new set. * diff --git a/test/files/run/t2857.check b/test/files/run/t2857.check index f679669ef579..eff82e7bd959 100644 --- a/test/files/run/t2857.check +++ b/test/files/run/t2857.check @@ -1,2 +1,2 @@ -warning: there was one deprecation warning (since 2.13.0); re-run with -deprecation for details +warning: there were two deprecation warnings (since 2.13.0); re-run with -deprecation for details false