diff options
Diffstat (limited to 'src/library/scala/xml/Utility.scala')
-rw-r--r-- | src/library/scala/xml/Utility.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/library/scala/xml/Utility.scala b/src/library/scala/xml/Utility.scala index 635585f79c..42f71cd981 100644 --- a/src/library/scala/xml/Utility.scala +++ b/src/library/scala/xml/Utility.scala @@ -82,9 +82,8 @@ object Utility extends AnyRef with parsing.TokenTests case _ => n } - /** @deprecated a string might also be Atom(s) - define your own conversion - */ - @deprecated def view(s: String): Text = Text(s) + @deprecated("a string might also be Atom(s) - define your own conversion") + def view(s: String): Text = Text(s) /** * Escapes the characters < > & and " from string. |