Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
According to the Java SE 6 documentation \[[Sun 2006|AA. Java References#Sun 06]\]  [varargs|http://java.sun.com/j2se/1.5.0/docs/guide/language/varargs.html]:

Wiki Markup
As an API designer, you should use them \[varargs methods\] sparingly, only when the benefit is truly compelling. Generally speaking, you should not overload a varargs method, or it will be difficult for programmers to figure out which overloading gets called. 

...

Unmindful use of the varargs feature may create ambiguity and diminish code readability.

Rule Guideline

Severity

Likelihood

Remediation Cost

Priority

Level

DCL08- J

low

unlikely

medium

P2

L3

...