diff options
author | James Iry <james.iry@typesafe.com> | 2013-11-18 10:58:02 -0800 |
---|---|---|
committer | James Iry <james.iry@typesafe.com> | 2013-11-18 10:58:02 -0800 |
commit | 5344a0316ea80c63e5affc06cebd58547bfa0ed8 (patch) | |
tree | 807b73c7759c2d72e9b926b7372d75cb54d17d6c | |
parent | c243435f113615b2f7407fbd683c93ec16c73749 (diff) | |
download | scala-5344a0316ea80c63e5affc06cebd58547bfa0ed8.tar.gz scala-5344a0316ea80c63e5affc06cebd58547bfa0ed8.tar.bz2 scala-5344a0316ea80c63e5affc06cebd58547bfa0ed8.zip |
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.
-rw-r--r-- | src/library/scala/annotation/migration.scala | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/library/scala/annotation/migration.scala b/src/library/scala/annotation/migration.scala index 65bee4c2cb..e71be00f32 100644 --- a/src/library/scala/annotation/migration.scala +++ b/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 |