diff options
author | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-05-18 22:26:42 +0000 |
---|---|---|
committer | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-05-18 22:26:42 +0000 |
commit | ebfcab7b96e95939e3f258f27e936844e343326a (patch) | |
tree | 2a5b919526275b3cb61c4421bb514354a5146d3b /src | |
parent | b7781f0d875ea3a9e9b94d0344b806702680aeb9 (diff) | |
download | scala-ebfcab7b96e95939e3f258f27e936844e343326a.tar.gz scala-ebfcab7b96e95939e3f258f27e936844e343326a.tar.bz2 scala-ebfcab7b96e95939e3f258f27e936844e343326a.zip |
Removed deprecation. No review.
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/math/BigDecimal.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/library/scala/math/BigDecimal.scala b/src/library/scala/math/BigDecimal.scala index aa238914a1..b8dbe03db0 100644 --- a/src/library/scala/math/BigDecimal.scala +++ b/src/library/scala/math/BigDecimal.scala @@ -249,12 +249,11 @@ extends ScalaNumber with ScalaNumericConversions /** Remainder after dividing this by that. */ - @deprecated("As of 2.8, the prefered way to calculate division remainder is to use method `%`.") def remainder (that: BigDecimal): BigDecimal = this.bigDecimal.remainder(that.bigDecimal, mc) /** Remainder after dividing this by that. */ - def % (that: BigDecimal): BigDecimal = this.bigDecimal.remainder(that.bigDecimal, mc) + def % (that: BigDecimal): BigDecimal = this.remainder(that) /** Returns a BigDecimal whose value is this ** n. */ |