mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +07:00
9 lines
278 B
Java
9 lines
278 B
Java
// "Extract Set from comparison chain" "true-preview"
|
|
public class Test {
|
|
void testOr(int i, String property) {
|
|
if(i > 0 || "foo"<caret>.equals(property) || "bar".equals(property) || "baz".equals(property) || i == -10) {
|
|
System.out.println("foobarbaz");
|
|
}
|
|
}
|
|
}
|