Bad code is green: "Redundant array creation for calling varargs method" does not work when the array creation does not use a "<?>" type parameter wildcard
In the following code, the "Redundant array creation for calling varargs method" inspection does not warn about the first line. It only warns about the second line. Expected: Both lines should give a warning.
In the following code, the "Redundant array creation for calling varargs method" inspection does not warn about the first line. It only warns about the second line. Expected: Both lines should give a warning.