mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
19 lines
299 B
Java
19 lines
299 B
Java
class DecrementDifferentFieldsDuplicate {
|
|
int x;
|
|
int y;
|
|
|
|
private void foo() {
|
|
<selection>
|
|
if (x > 0) {
|
|
bar(x);
|
|
x--;
|
|
}</selection>
|
|
|
|
if (y > 0) {
|
|
bar(y);
|
|
y--;
|
|
}
|
|
}
|
|
|
|
private void bar(int i) { }
|
|
} |