mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-22 11:29:28 +07:00
13 lines
239 B
Java
13 lines
239 B
Java
// "Replace condition with Objects.requireNonNullElse" "true"
|
|
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
void work(Object o) {
|
|
|
|
}
|
|
|
|
public void test(Object o) {
|
|
work(/*1*/o/*2*/ <caret>== /*3*/null/*4*/?/*5*/ ""/*6*/ :/*7*/ o/*8*/);
|
|
}
|
|
} |