summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Vierling <tv@duh.org>2014-05-23 11:07:12 -0400
committerTodd Vierling <tv@duh.org>2014-05-24 11:49:20 -0400
commit60ef974982f6f9f641bee4eb9759f860709c6e5f (patch)
tree9169ea6ac86d01b52ec350b316dfaf31e7e3ec25
parent9e7988580c3e6b445bdae91ac39e275e5cc46afa (diff)
downloadscala-60ef974982f6f9f641bee4eb9759f860709c6e5f.tar.gz
scala-60ef974982f6f9f641bee4eb9759f860709c6e5f.tar.bz2
scala-60ef974982f6f9f641bee4eb9759f860709c6e5f.zip
To have effect, @deprecated needs to be an annotation.
-rw-r--r--src/library/scala/collection/mutable/AVLTree.scala2
-rw-r--r--src/library/scala/concurrent/Lock.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/collection/mutable/AVLTree.scala b/src/library/scala/collection/mutable/AVLTree.scala
index de09bb2040..cc2acb74d4 100644
--- a/src/library/scala/collection/mutable/AVLTree.scala
+++ b/src/library/scala/collection/mutable/AVLTree.scala
@@ -14,8 +14,8 @@ package mutable
* An immutable AVL Tree implementation formerly used by mutable.TreeSet
*
* @author Lucien Pereira
- * @deprecated("AVLTree and its related classes are being removed from the standard library since they're not different enough from RedBlackTree to justify keeping them.", "2.11.0")
*/
+@deprecated("AVLTree and its related classes are being removed from the standard library since they're not different enough from RedBlackTree to justify keeping them.", "2.11.2")
private[mutable] sealed trait AVLTree[+A] extends Serializable {
def balance: Int
diff --git a/src/library/scala/concurrent/Lock.scala b/src/library/scala/concurrent/Lock.scala
index 1c00c0e91f..8d18da2d38 100644
--- a/src/library/scala/concurrent/Lock.scala
+++ b/src/library/scala/concurrent/Lock.scala
@@ -14,8 +14,8 @@ package scala.concurrent
*
* @author Martin Odersky
* @version 1.0, 10/03/2003
- * @deprecated("Use java.util.concurrent.locks.Lock", "2.11.0")
*/
+@deprecated("Use java.util.concurrent.locks.Lock", "2.11.2")
class Lock {
var available = true