Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9029

Deprecate SloppyMath toRadians/toDegrees in favor of Java Math

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.4
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This change follows a TODO left in SloppyMath to remove toRadians/toDegrees since from Java 9 forward Math toRadians/toDegrees is now identical. Since these methods/constants are public, deprecation messages are added to each one. Internally, in Lucene, all instances of the SloppyMath versions are replaced with the standard Java Math versions.

        Attachments

        1. LUCENE-9029.patch
          18 kB
          Jack Conradson
        2. LUCENE-9029.patch
          18 kB
          Jack Conradson

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jdconradson Jack Conradson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: