mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-28 23:38:47 +07:00
7e1064ea3c
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
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>);
|
|
}
|
|
} |