diff options
author | Simon Ochsenreither <simon@ochsenreither.de> | 2012-09-21 20:04:05 +0200 |
---|---|---|
committer | Simon Ochsenreither <simon@ochsenreither.de> | 2012-10-08 05:24:57 +0200 |
commit | c52f91ca0db573fdfc879ae199a237db256d7523 (patch) | |
tree | c96beb2779d34498aefd368271958bdfa5bb4c6d /src/library | |
parent | d43a3efe813ade912d34b48bd11b56e8762c3e01 (diff) | |
download | scala-c52f91ca0db573fdfc879ae199a237db256d7523.tar.gz scala-c52f91ca0db573fdfc879ae199a237db256d7523.tar.bz2 scala-c52f91ca0db573fdfc879ae199a237db256d7523.zip |
SI-6388 Remove deprecated items in scala/math
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/math/BigDecimal.scala | 6 | ||||
-rw-r--r-- | src/library/scala/math/BigInt.scala | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/library/scala/math/BigDecimal.scala b/src/library/scala/math/BigDecimal.scala index eb73d58d1c..a721fd647c 100644 --- a/src/library/scala/math/BigDecimal.scala +++ b/src/library/scala/math/BigDecimal.scala @@ -25,12 +25,6 @@ object BigDecimal { private val maxCached = 512 val defaultMathContext = MathContext.DECIMAL128 - @deprecated("Use Long.MinValue", "2.9.0") - val MinLong = new BigDecimal(BigDec valueOf Long.MinValue, defaultMathContext) - - @deprecated("Use Long.MaxValue", "2.9.0") - val MaxLong = new BigDecimal(BigDec valueOf Long.MaxValue, defaultMathContext) - /** Cache ony for defaultMathContext using BigDecimals in a small range. */ private lazy val cache = new Array[BigDecimal](maxCached - minCached + 1) diff --git a/src/library/scala/math/BigInt.scala b/src/library/scala/math/BigInt.scala index 3eb41053f7..9218e41ceb 100644 --- a/src/library/scala/math/BigInt.scala +++ b/src/library/scala/math/BigInt.scala @@ -23,12 +23,6 @@ object BigInt { private val cache = new Array[BigInt](maxCached - minCached + 1) private val minusOne = BigInteger.valueOf(-1) - @deprecated("Use Long.MinValue", "2.9.0") - val MinLong = BigInt(Long.MinValue) - - @deprecated("Use Long.MaxValue", "2.9.0") - val MaxLong = BigInt(Long.MaxValue) - /** Constructs a `BigInt` whose value is equal to that of the * specified integer value. * |