Passing a primitive array to a varargs method is usually wrong
- Has Fix?
When you pass a primitive array as the only argument to a varargs method, the primitive array is autoboxed into a single-element Object array. This is usually not what was intended.
Suppress false positives by adding the suppression annotation
@SuppressWarnings("PrimitiveArrayPassedToVarargsMethod") to the enclosing element.