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

Replace usage of methods deprecated in Java 9

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0-beta1
    • Component/s: None
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: