mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
8 lines
195 B
Java
8 lines
195 B
Java
// "Replace with 'list != null ?:'" "true-preview"
|
|
|
|
class A{
|
|
void test(){
|
|
List list = Math.random() > 0.5 ? new List() : null;
|
|
Object o = list != null ? list.get(0) : null<caret>;
|
|
}
|
|
} |