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