mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-17 11:40:50 +07:00
16 lines
388 B
Java
16 lines
388 B
Java
import org.jetbrains.annotations.NotNull;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.Collection;
|
|
import java.util.List;
|
|
|
|
class BrokenAlignment {
|
|
void t() {
|
|
@NotNull Collection list = new ArrayList();
|
|
List<String> strings = (List<String>) list;
|
|
if (<warning descr="Condition 'strings != null' is always 'true'">strings != null</warning>) {
|
|
int foo = 42;
|
|
}
|
|
}
|
|
|
|
} |