mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
PR#2131 GitOrigin-RevId: adde184e92319942b614256d5190e2311e7fbd9a
14 lines
269 B
Java
14 lines
269 B
Java
// "Collapse 'if' statement" "true"
|
|
|
|
import java.util.Collection;
|
|
import java.util.List;
|
|
import java.util.Set;
|
|
|
|
public class IfStatementWithIdenticalBranches {
|
|
void work(int i) {
|
|
while (0 < i) {
|
|
i--;
|
|
System.out.println("Next iteration");
|
|
}
|
|
}
|
|
} |