lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7743) Findbugs: avoid new String(String)
Date Mon, 13 Mar 2017 07:43:04 GMT

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

Dawid Weiss commented on LUCENE-7743:
-------------------------------------

Looks good to me.

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message