Eric Pugh created SOLR-18716:
--------------------------------

             Summary: Fix this-escape warnings in solr/solrj
                 Key: SOLR-18716
                 URL: https://issues.apache.org/jira/browse/SOLR-18716
             Project: Solr
          Issue Type: Sub-task
          Components: Build
            Reporter: Eric Pugh


31 warnings: constructors that call overridable methods or pass {{this}} out 
before the object is fully built.
Usual fixes: make the called method {{private}} or {{final}}, or move the call 
out of the constructor.
*Careful:* SolrJ is public API. Don't make public classes {{final}} where users 
may subclass them; for real extension points use 
{{@SuppressWarnings("this-escape")}} with a one-line reason.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to