mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 11:50:57 +07:00
10 lines
248 B
Java
10 lines
248 B
Java
// "Replace with 'list != null ?:'" "true-preview"
|
|
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
class A{
|
|
void test(@NotNull List l) {
|
|
final List list = Math.random() > 0.5 ? new List() : null;
|
|
test(list != null ? list : null<caret>);
|
|
}
|
|
} |