mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-28 01:09:56 +07:00
Report default annotation parameters in more cases
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Remove redundant parameter" "true"
|
||||
|
||||
@interface Anno {
|
||||
String foo() default "hello world";
|
||||
}
|
||||
|
||||
@Anno()
|
||||
class Foo {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// "Remove redundant parameter" "true"
|
||||
|
||||
@interface Anno {
|
||||
String foo() default "hello world";
|
||||
}
|
||||
|
||||
@Anno(foo = "hello " +<caret>
|
||||
"world")
|
||||
class Foo {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user