mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 12:48:12 +07:00
12 lines
309 B
Java
12 lines
309 B
Java
import org.jetbrains.annotations.*;
|
|
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
void foo() {
|
|
String[] data = new String[] {"abs", "def"};
|
|
for (@NotNull String foo: data) {
|
|
assert <warning descr="Condition 'foo != null' is always 'true'">foo != null</warning>; // Condition always true
|
|
}
|
|
}
|
|
} |