Skip to content

Commit 2e9c248

Browse files
authored
Merge pull request #8005 from joshlemer/deprecate-multimap
Deprecate scala.collection.mutable.MultiMap
2 parents db08362 + 34f5d3b commit 2e9c248

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/library/scala/collection/mutable/MultiMap.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ package scala.collection.mutable
5151
* @define Coll `MultiMap`
5252
* @since 1
5353
*/
54+
@deprecated("Use a scala.collection.mutable.MultiDict in the scala-collection-contrib module", "2.13.0")
5455
trait MultiMap[K, V] extends Map[K, Set[V]] {
5556
/** Creates a new set.
5657
*

test/files/run/t2857.check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
warning: there was one deprecation warning (since 2.13.0); re-run with -deprecation for details
1+
warning: there were two deprecation warnings (since 2.13.0); re-run with -deprecation for details
22
false

0 commit comments

Comments
 (0)