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