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