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

Deprecate SloppyMath toRadians/toDegrees in favor of Java Math

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jdconradson Jack Conradson

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment