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

Deprecate SloppyMath toRadians/toDegrees in favor of Java Math

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 8.4
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: