You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Jack Conradson (Jira)" <ji...@apache.org> on 2019/10/25 19:40:00 UTC

[jira] [Updated] (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 ]

Jack Conradson updated LUCENE-9029:
-----------------------------------
    Attachment: LUCENE-9029.patch

> 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
>         Attachments: 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