IDEA-69981 ("Redundant array creation" inspection does not warn on enum constant)

This commit is contained in:
Bas Leijdekkers
2011-05-20 16:46:53 +02:00
parent 0e58d431cd
commit c15ff45554
4 changed files with 28 additions and 3 deletions
@@ -0,0 +1,7 @@
public enum Test {
A(new String[]{"1", "2"});
Test(String... ss) {
}
}