mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-29 09:49:56 +07:00
IDEA-160207 Redundant default parameter value assignment doesn’t catch unnecessary array assignments
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Remove redundant parameter" "true"
|
||||
|
||||
@interface Anno {
|
||||
String[] foo() default {"One", "Two"};
|
||||
}
|
||||
|
||||
@Anno()
|
||||
class Foo {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// "Remove redundant parameter" "true"
|
||||
|
||||
@interface Anno {
|
||||
String[] foo() default {"One", "Two"};
|
||||
}
|
||||
|
||||
@Anno(foo = {"One", <caret>"Two"})
|
||||
class Foo {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user