diff options
author | Simon Ochsenreither <simon@ochsenreither.de> | 2016-05-19 14:57:25 +0200 |
---|---|---|
committer | Simon Ochsenreither <simon@ochsenreither.de> | 2016-05-28 21:43:05 +0200 |
commit | 5562e1a2eb07b9a541b3eac85a809847e2d48763 (patch) | |
tree | 95fd0aef822adc4feb01ed15583a60b2a8b0f284 /src/library/scala/runtime/RichLong.scala | |
parent | 673350e08af72454fe9df87ae7f3292893e44d3c (diff) | |
download | scala-5562e1a2eb07b9a541b3eac85a809847e2d48763.tar.gz scala-5562e1a2eb07b9a541b3eac85a809847e2d48763.tar.bz2 scala-5562e1a2eb07b9a541b3eac85a809847e2d48763.zip |
Lower-case spelling of @deprecated messages
Diffstat (limited to 'src/library/scala/runtime/RichLong.scala')
-rw-r--r-- | src/library/scala/runtime/RichLong.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/runtime/RichLong.scala b/src/library/scala/runtime/RichLong.scala index b405fcda3d..233ce231b4 100644 --- a/src/library/scala/runtime/RichLong.scala +++ b/src/library/scala/runtime/RichLong.scala @@ -32,9 +32,9 @@ final class RichLong(val self: Long) extends AnyVal with IntegralProxy[Long] { override def max(that: Long): Long = math.max(self, that) override def min(that: Long): Long = math.min(self, that) override def signum: Int = math.signum(self).toInt - + /** There is no reason to round a `Long`, but this method is provided to avoid accidental conversion to `Int` through `Float`. */ - @deprecated("This is an integer type; there is no reason to round it. Perhaps you meant to call this on a floating-point value?", "2.11.0") + @deprecated("this is an integer type; there is no reason to round it. Perhaps you meant to call this on a floating-point value?", "2.11.0") def round: Long = self def toBinaryString: String = java.lang.Long.toBinaryString(self) |