mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 06:20:54 +07:00
14 lines
356 B
Java
14 lines
356 B
Java
// "Extract Set from comparison chain" "true-preview"
|
|
|
|
public class Test {
|
|
enum Status {
|
|
RUNNING, PENDING, DONE, STARTED;
|
|
}
|
|
|
|
void testEq(Status status1, Status status) {
|
|
if(status1 == Status.RUNNING || status1 == Status.PENDING || status =<caret>= Status.DONE || Status.STARTED == status) {
|
|
System.out.println("foobarbaz");
|
|
}
|
|
}
|
|
}
|