Uploaded image for project: 'Commons Numbers'
  1. Commons Numbers
  2. NUMBERS-83

Replace usage of methods deprecated in Java 9

    XMLWordPrintableJSON

Details

    Description

      Some methods were deprecated in JDK9.

      • commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Precision.java:[428,42] ROUND_HALF_UP in java.math.BigDecimal has been deprecated
      • commons-numbers-core/src/main/java/org/apache/commons/numbers/core/Precision.java:[450,20] setScale(int,int) in java.math.BigDecimal has been deprecated
      • commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java:[1366,37] Double(double) in java.lang.Double has been deprecated
      • commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java:[1366,16] Double(double) in java.lang.Double has been deprecated
      • commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/BigFraction.java:[566,41] divide(java.math.BigDecimal,int) in java.math.BigDecimal has been deprecated
      • commons-numbers-fraction/src/main/java/org/apache/commons/numbers/fraction/BigFraction.java:[585,41] divide(java.math.BigDecimal,int,int) in java.math.BigDecimal has been deprecated
      • commons-numbers-angle/src/main/java/org/apache/commons/numbers/angle/PlaneAngle.java:[116,45] Double(double) in java.lang.Double has been deprecated
      • commons-numbers-angle/src/main/java/org/apache/commons/numbers/angle/PlaneAngle.java:[116,20] Double(double) in java.lang.Double has been deprecated
      • commons-numbers-angle/src/main/java/org/apache/commons/numbers/angle/PlaneAngle.java:[124,16] Double(double) in java.lang.Double has been deprecated

      Attachments

        Activity

          People

            Unassigned Unassigned
            erans Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: