diff options
author | Paul Phillips <paulp@improving.org> | 2011-04-14 21:05:12 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-04-14 21:05:12 +0000 |
commit | 3de9030dca760325555d697e3082d714f84f5df5 (patch) | |
tree | f4e5c4869945092226f6e6645f5d38db43134df2 /src/library/scala/runtime/RichChar.scala | |
parent | a0909c05738489c72237852e3ec3f748fc1b53b6 (diff) | |
download | scala-3de9030dca760325555d697e3082d714f84f5df5.tar.gz scala-3de9030dca760325555d697e3082d714f84f5df5.tar.bz2 scala-3de9030dca760325555d697e3082d714f84f5df5.zip |
Adds "since" field to @deprecated.
for the patch, as it's a change I've always wanted. Moving up in the
glamorous world of scala commits! No review.
Diffstat (limited to 'src/library/scala/runtime/RichChar.scala')
-rw-r--r-- | src/library/scala/runtime/RichChar.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/library/scala/runtime/RichChar.scala b/src/library/scala/runtime/RichChar.scala index b9f536de9a..358faf47f5 100644 --- a/src/library/scala/runtime/RichChar.scala +++ b/src/library/scala/runtime/RichChar.scala @@ -46,13 +46,13 @@ final class RichChar(val self: Char) extends IntegralProxy[Char] { // public static boolean isJavaIdentifierStart(char ch) // public static boolean isJavaIdentifierPart(char ch) - @deprecated("Use ch.toLower instead") + @deprecated("Use ch.toLower instead", "2.8.0") def toLowerCase: Char = toLower - @deprecated("Use ch.toUpper instead") + @deprecated("Use ch.toUpper instead", "2.8.0") def toUpperCase: Char = toUpper - @deprecated("Use ch.isLower instead") + @deprecated("Use ch.isLower instead", "2.8.0") def isLowerCase: Boolean = isLower - @deprecated("Use ch.isUpper instead") + @deprecated("Use ch.isUpper instead", "2.8.0") def isUpperCase: Boolean = isUpper } |