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

2017-03-14 Thread Daniel Jelinski (JIRA)

 [ 
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

Rebased the patch... the old one didn't apply anymore.

> 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, 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



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

2017-03-12 Thread Daniel Jelinski (JIRA)

 [ 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org