mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 18:58:31 +07:00
11 lines
227 B
Java
11 lines
227 B
Java
// "Replace with 'Objects.requireNonNull(Math.random() > 0.5 ? null : "bar")'" "true"
|
|
|
|
import java.util.List;
|
|
|
|
class MyClass {
|
|
void foo(String str) {}
|
|
|
|
void test() {
|
|
foo(Math.random() > 0.5 ? null :<caret> "bar");
|
|
}
|
|
} |