mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
IDEA-175510 "Constant conditions & exceptions" inspection provides non-sensical quick fix in some cases
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
class Foo {
|
||||
void main() {
|
||||
foo(<warning descr="Argument '(String) null' might be null">(String) nu<caret>ll</warning>);
|
||||
}
|
||||
|
||||
static void foo(@NotNull String s) {}
|
||||
}
|
||||
Reference in New Issue
Block a user