You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2017/02/11 15:34:41 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 ]
Michael Osipov closed MNG-5934.
-------------------------------
Resolution: Fixed
Fixed with [8d91726f7872f4462d9fa085ef5b6f32bfd0a2e1|https://git-wip-us.apache.org/repos/asf?p=maven.git;a=commit;h=8d91726f7872f4462d9fa085ef5b6f32bfd0a2e1].
> 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
>
> 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.15#6346)