summaryrefslogtreecommitdiff
path: root/src/library/scala/deprecated.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/deprecated.scala')
-rw-r--r--src/library/scala/deprecated.scala4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/library/scala/deprecated.scala b/src/library/scala/deprecated.scala
index 0f5ec16af0..8b93a35075 100644
--- a/src/library/scala/deprecated.scala
+++ b/src/library/scala/deprecated.scala
@@ -19,6 +19,4 @@ import annotation.target._
* @since 2.3
*/
@getter @setter @beanGetter @beanSetter
-class deprecated(message: String) extends annotation.StaticAnnotation {
- def this() = this("")
-}
+class deprecated(message: String = "", since: String = null) extends annotation.StaticAnnotation