mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 18:50:59 +07:00
9 lines
250 B
Java
9 lines
250 B
Java
// "Extract Set from comparison chain" "true-preview"
|
|
public class Test {
|
|
void testOr(String name) {
|
|
if(name == null || <caret>"foo".equals(name) || "bar".equals(name) || "baz".equals(name)) {
|
|
System.out.println("foobarbaz");
|
|
}
|
|
}
|
|
}
|