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:50:04 UTC

[jira] [Created] (LUCENE-7743) Findbugs: avoid new String(String)

Daniel Jelinski created LUCENE-7743:
---------------------------------------

             Summary: Findbugs: avoid new String(String)
                 Key: LUCENE-7743
                 URL: https://issues.apache.org/jira/browse/LUCENE-7743
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Daniel Jelinski
            Priority: Minor


http://findbugs.sourceforge.net/bugDescriptions.html#DM_STRING_CTOR
Removing the extra constructor calls will avoid heap allocations while behaving just the same as the original code.



--
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