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

ASF subversion and git services commented on LUCENE-7743:
---------------------------------------------------------

Commit 03e50781463827a5d8188fccf0307f72dea4e450 in lucene-solr's branch 
refs/heads/branch_6x from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=03e5078 ]

LUCENE-7743: Avoid calling new String(String).


> 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
>         Attachments: LUCENE-7743.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to