mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
15 lines
243 B
Java
15 lines
243 B
Java
import org.jetbrains.annotations.NotNull;
|
|
|
|
class X {
|
|
@NotNull
|
|
String foo() {return "";}
|
|
|
|
void bar() {
|
|
String o = foo();
|
|
o += "";
|
|
if (<warning descr="Condition 'o != null' is always 'true'">o != null</warning>) {
|
|
|
|
}
|
|
}
|
|
|
|
} |