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

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

Most cases are straightforward (the field was either moved to method or made 
static final); in some cases I was able to remove larger portions of code (like 
ShardResponse.setResponseCode appears to be useless)

> IDEA: field can be local
> ------------------------
>
>                 Key: LUCENE-7772
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7772
>             Project: Lucene - Core
>          Issue Type: Sub-task
>            Reporter: Daniel Jelinski
>            Priority: Minor
>         Attachments: LUCENE-7772.patch
>
>
> This one is an IDEA inspection, not Findbugs; it is looking for private 
> fields that are used in one method only, and either their usage starts from 
> assignment, or they are initialized in line and never assigned to after that.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to