[ 
https://issues.apache.org/jira/browse/SOLR-14781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17187963#comment-17187963
 ] 

David Smiley commented on SOLR-14781:
-------------------------------------

https://www.jetbrains.com/help/idea/running-inspections.html#analysis-current-file
  "Unused Declaration"; only check class & inner classes
I *think* this works on community edition but I'm not sure since I have 
Ultimate.  I attached the XML output in case someone wanted to do this without 
even needing IntelliJ.  FWIW I think you can get an Ultimate license from 
JetBrains as an ASF committer.

Yeah; may iterative.  For example I think the analysis found inner classes of 
org.apache.solr.util.SolrLogLayout but did not point directly to that class.  
If those inner classes were to be removed, the outer class would show up in the 
list as well.


> Remove unused classes
> ---------------------
>
>                 Key: SOLR-14781
>                 URL: https://issues.apache.org/jira/browse/SOLR-14781
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: David Smiley
>            Assignee: Erick Erickson
>            Priority: Minor
>              Labels: newdev
>         Attachments: unused.xml
>
>
> There are a number of lingering classes in Solr that are not used anymore, 
> lingering after long-gone refactorings or who knows what.  They should be 
> removed, of course.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to