Skip to content

Commit

Permalink
To have effect, @deprecated needs to be an annotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
tvierling committed May 24, 2014
1 parent 9e79885 commit 60ef974
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/library/scala/collection/mutable/AVLTree.scala
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/library/scala/concurrent/Lock.scala
Expand Up @@ -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

Expand Down

0 comments on commit 60ef974

Please sign in to comment.