Skip to content

Commit eb7b834

Browse files
committed
Merge pull request scala#3907 from gourlaysama/wip/proxy
a few missing deprecations in proxy collections.
2 parents ed9cca8 + bb2c246 commit eb7b834

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

src/library/scala/collection/IterableProxy.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ package collection
1616
* @version 2.8
1717
* @since 2.8
1818
*/
19+
@deprecated("Proxying is deprecated due to lack of use and compiler-level support.", "2.11.3")
1920
trait IterableProxy[+A] extends Iterable[A] with IterableProxyLike[A, Iterable[A]]

src/library/scala/collection/MapProxy.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ package collection
1717
* @version 1.0, 21/07/2003
1818
* @since 1
1919
*/
20+
@deprecated("Proxying is deprecated due to lack of use and compiler-level support.", "2.11.3")
2021
trait MapProxy[A, +B] extends Map[A, B] with MapProxyLike[A, B, Map[A, B]]

src/library/scala/collection/SetProxy.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ package collection
1717
* @author Martin Odersky
1818
* @version 2.0, 01/01/2007
1919
*/
20+
@deprecated("Proxying is deprecated due to lack of use and compiler-level support.", "2.11.3")
2021
trait SetProxy[A] extends Set[A] with SetProxyLike[A, Set[A]]

src/library/scala/collection/TraversableProxy.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ package collection
2121
* @version 2.8
2222
* @since 2.8
2323
*/
24+
@deprecated("Proxying is deprecated due to lack of use and compiler-level support.", "2.11.3")
2425
trait TraversableProxy[+A] extends Traversable[A] with TraversableProxyLike[A, Traversable[A]]

0 commit comments

Comments
 (0)