You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2019/12/16 11:02:18 UTC

[commons-numbers] branch master updated: [commons-numbers-core] use non-deprecated ref in docs

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git


The following commit(s) were added to refs/heads/master by this push:
     new d2c8760  [commons-numbers-core] use non-deprecated ref in docs
     new 0c5cd6d  Merge pull request #72 from grimreaper/eax/update-documentation-for-numbers
d2c8760 is described below

commit d2c8760d6fccedc859ba6aef059b1e529751ddbf
Author: Eitan Adler <li...@eitanadler.com>
AuthorDate: Sun Dec 15 22:34:47 2019 -0800

    [commons-numbers-core] use non-deprecated ref in docs
    
    The code was already changed but refer to the non-deprecated version in
    documentaton as well.
---
 .../src/main/java/org/apache/commons/numbers/core/Precision.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Precision.java b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Precision.java
index 9a3ecb2..d60806d 100644
--- a/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Precision.java
+++ b/commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Precision.java
@@ -435,7 +435,7 @@ public final class Precision {
 
     /**
      * Rounds the given value to the specified number of decimal places.
-     * The value is rounded using the {@link BigDecimal#ROUND_HALF_UP} method.
+     * The value is rounded using the {@link RoundingMode#HALF_UP} method.
      *
      * @param x Value to round.
      * @param scale Number of digits to the right of the decimal point.