summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorJames Iry <james.iry@typesafe.com>2013-11-18 10:58:02 -0800
committerJames Iry <james.iry@typesafe.com>2013-11-18 10:58:02 -0800
commit5344a0316ea80c63e5affc06cebd58547bfa0ed8 (patch)
tree807b73c7759c2d72e9b926b7372d75cb54d17d6c /src/library
parentc243435f113615b2f7407fbd683c93ec16c73749 (diff)
downloadscala-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.
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/annotation/migration.scala5
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