From 163b725ce841fa624d1b697d14ad33e6c47c210b Mon Sep 17 00:00:00 2001 From: Jatin Gupta Date: Sun, 15 Jul 2018 22:35:34 -0700 Subject: [PATCH 1/2] Update documentation since deprecation now takes two arguments --- _tour/annotations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_tour/annotations.md b/_tour/annotations.md index 32220d90a6..f88ba840cc 100644 --- a/_tour/annotations.md +++ b/_tour/annotations.md @@ -16,7 +16,7 @@ redirect_from: "/tutorials/tour/annotations.html" Annotations associate meta-information with definitions. For example, the annotation `@deprecated` before a method causes the compiler to print a warning if the method is used. ``` object DeprecationDemo extends App { - @deprecated + @deprecated("deprecation message e.g. - this method will be removed", "next release in which method will be deprecated e.g. ExampleLib 2.0") def hello = "hola" hello From 0e3e8669c6e9612bd849a07c6ed5193c7acb39dc Mon Sep 17 00:00:00 2001 From: Jatin Gupta Date: Mon, 16 Jul 2018 10:20:21 -0700 Subject: [PATCH 2/2] Keep character count under 60 --- _tour/annotations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_tour/annotations.md b/_tour/annotations.md index f88ba840cc..b486d7b806 100644 --- a/_tour/annotations.md +++ b/_tour/annotations.md @@ -16,7 +16,7 @@ redirect_from: "/tutorials/tour/annotations.html" Annotations associate meta-information with definitions. For example, the annotation `@deprecated` before a method causes the compiler to print a warning if the method is used. ``` object DeprecationDemo extends App { - @deprecated("deprecation message e.g. - this method will be removed", "next release in which method will be deprecated e.g. ExampleLib 2.0") + @deprecated("deprecation message", "release # which deprecates method") def hello = "hola" hello