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/10/29 08:14:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16961788#comment-16961788 ] 

Adrien Grand commented on LUCENE-9029:
--------------------------------------

Since this is targeting master, let's remove without a deprecation notice, and then add deprecation on branch_8x?

> 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