Update performance.xml
Reference to Arrays.copyOf
This commit is contained in:
@ -64,7 +64,7 @@ sb.append('a'); // use this instead
|
|||||||
class="net.sourceforge.pmd.lang.rule.XPathRule"
|
class="net.sourceforge.pmd.lang.rule.XPathRule"
|
||||||
externalInfoUrl="${pmd.website.baseurl}/pmd_rules_java_performance.html#avoidarrayloops">
|
externalInfoUrl="${pmd.website.baseurl}/pmd_rules_java_performance.html#avoidarrayloops">
|
||||||
<description>
|
<description>
|
||||||
Instead of manually copying data between two arrays, use the efficient System.arraycopy method instead.
|
Instead of manually copying data between two arrays, use the efficient Arrays.copyOf or System.arraycopy method instead.
|
||||||
</description>
|
</description>
|
||||||
<priority>3</priority>
|
<priority>3</priority>
|
||||||
<properties>
|
<properties>
|
||||||
|
Reference in New Issue
Block a user