[
https://issues.apache.org/jira/browse/MNG-5934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15018450#comment-15018450
]
Michael Osipov commented on MNG-5934:
-------------------------------------
Please open a pull request on GitHub, I will have a look.
> 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
> 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
(v6.3.4#6332)