You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Daniel Jelinski (JIRA)" <ji...@apache.org> on 2017/03/12 21:40:04 UTC

[jira] [Updated] (LUCENE-7742) FindBugs: unboxing followed by re-boxing

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

Daniel Jelinski updated LUCENE-7742:
------------------------------------
    Attachment: LUCENE-7742.patch

Some of the ternary operator use cases don't look as good with this patch; as an alternative I could replace them with regular if/else

> FindBugs: unboxing followed by re-boxing 
> -----------------------------------------
>
>                 Key: LUCENE-7742
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7742
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Daniel Jelinski
>            Priority: Minor
>         Attachments: LUCENE-7742.patch
>
>
> http://findbugs.sourceforge.net/bugDescriptions.html#BX_UNBOXING_IMMEDIATELY_REBOXED



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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