mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 04:22:42 +07:00
GitOrigin-RevId: 538bc7c7d357505d2e48bdd59c06bc0a707e07ec
14 lines
271 B
Java
14 lines
271 B
Java
// "Remove redundant Optional chain" "true"
|
|
import java.util.Optional;
|
|
|
|
class Test {
|
|
void execute(String s) {
|
|
/*1*/
|
|
/*2*/
|
|
/*4*/
|
|
/*5*/
|
|
System.out.println(someFunc(/*3*/)/*6*/);
|
|
}
|
|
|
|
String someFunc() {throw new IllegalStateException();}
|
|
} |