forked from phoedos/pmd
[java] Update rule doc for UseVarArgs, refs #3182
This commit is contained in:
@ -1946,9 +1946,11 @@ public class TryWithResources {
|
||||
typeResolution="true"
|
||||
externalInfoUrl="${pmd.website.baseurl}/pmd_rules_java_bestpractices.html#usevarargs">
|
||||
<description>
|
||||
Java 5 introduced the varargs parameter declaration for methods and constructors. This syntactic
|
||||
Java 5 introduced the varargs parameter declaration for methods and constructors. This syntactic
|
||||
sugar provides flexibility for users of these methods and constructors, allowing them to avoid
|
||||
having to deal with the creation of an array.
|
||||
|
||||
Byte arrays in any method and String arrays in `public static void main(String[])` methods are ignored.
|
||||
</description>
|
||||
<priority>4</priority>
|
||||
<properties>
|
||||
|
Reference in New Issue
Block a user