You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2020/03/28 15:01:02 UTC

[jira] [Commented] (MNG-5934) String handling issues identified by PMD

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

Hudson commented on MNG-5934:
-----------------------------

Build failed in Jenkins: Maven TLP » maven-studies » maven-metrics #4

See https://builds.apache.org/job/maven-box/job/maven-studies/job/maven-metrics/4/

> String handling issues identified by PMD
> ----------------------------------------
>
>                 Key: MNG-5934
>                 URL: https://issues.apache.org/jira/browse/MNG-5934
>             Project: Maven
>          Issue Type: Improvement
>    Affects Versions: 3.3.9
>            Reporter: Alex Henrie
>            Assignee: Michael Osipov
>            Priority: Minor
>              Labels: easyfix, newbie, patch, performance
>             Fix For: 3.5.0-alpha-1, 3.5.0
>
>         Attachments: 0001-Prefer-StringBuilder.append-char-to-StringBuilder.ap.patch, 0002-Prefer-String.indexOf-char-to-String.indexOf-String.patch, 0003-Combine-string-literals-instead-of-calling-String.ap.patch, 0004-Construct-StringBuffers-with-enough-space-to-begin-w.patch
>
>
> The code linting tool [PMD|http://pmd.sourceforge.net/pmd-5.2.0/] identified numerous places where Maven's string handling is inefficient. I've prepared a set of patches that should help speed things up.
> The command I used was `pmd -d . -R java-strings`



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