From fbd9306889cac9f5bd9fcea02c24808ce4ef0e45 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Tue, 19 Dec 2017 20:52:23 +0100 Subject: [PATCH] Update performance.xml Reference to Arrays.copyOf --- pmd-java/src/main/resources/category/java/performance.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd-java/src/main/resources/category/java/performance.xml b/pmd-java/src/main/resources/category/java/performance.xml index 8a46350f8f..2e0cdfdeab 100644 --- a/pmd-java/src/main/resources/category/java/performance.xml +++ b/pmd-java/src/main/resources/category/java/performance.xml @@ -64,7 +64,7 @@ sb.append('a'); // use this instead class="net.sourceforge.pmd.lang.rule.XPathRule" externalInfoUrl="${pmd.website.baseurl}/pmd_rules_java_performance.html#avoidarrayloops"> -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. 3