You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Schulte (JIRA)" <ji...@apache.org> on 2016/01/19 20:07:39 UTC
[jira] [Closed] (MNG-5934) String handling issues identified by PMD
[ https://issues.apache.org/jira/browse/MNG-5934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Schulte closed MNG-5934.
----------------------------------
Resolution: Fixed
Assignee: Christian Schulte (was: Michael Osipov)
Fix Version/s: 3.4.0
> 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: Christian Schulte
> Priority: Minor
> Labels: easyfix, newbie, patch, performance
> Fix For: 3.4.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
(v6.3.4#6332)