Permalink
Browse files

Remove deprecated constructor from the migration annotation

The migration annotation had a deprecated 2 arg constructor that was
deprecated in 2.10.0. This commit removes that constructor. Because
migration is private to the scala package this change shouldn’t affect
the rest of the community.
  • Loading branch information...
James Iry
James Iry committed Nov 18, 2013
1 parent c243435 commit 5344a0316ea80c63e5affc06cebd58547bfa0ed8
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/library/scala/annotation/migration.scala
@@ -25,7 +25,4 @@ package scala.annotation
*
* @since 2.8
*/
- private[scala] final class migration(message: String, changedIn: String) extends scala.annotation.StaticAnnotation {
- @deprecated("Use the constructor taking two Strings instead.", "2.10.0")
- def this(majorVersion: Int, minorVersion: Int, message: String) = this(message, majorVersion + "." + minorVersion)
- }
+ private[scala] final class migration(message: String, changedIn: String) extends scala.annotation.StaticAnnotation

0 comments on commit 5344a03

Please sign in to comment.