You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Adrien Grand (Jira)" <ji...@apache.org> on 2019/11/14 08:46:00 UTC

[jira] [Resolved] (LUCENE-9029) Deprecate SloppyMath toRadians/toDegrees in favor of Java Math

     [ https://issues.apache.org/jira/browse/LUCENE-9029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrien Grand resolved LUCENE-9029.
----------------------------------
    Fix Version/s: 8.4
       Resolution: Fixed

Merged, thanks [~jdconradson].

> Deprecate SloppyMath toRadians/toDegrees in favor of Java Math
> --------------------------------------------------------------
>
>                 Key: LUCENE-9029
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9029
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Jack Conradson
>            Priority: Trivial
>             Fix For: 8.4
>
>         Attachments: LUCENE-9029.patch, LUCENE-9029.patch
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org