mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-01 01:11:31 +07:00
GitOrigin-RevId: 3aae5c738d48c38144f6a78c36738121831ae5a5
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) { }
|
|
} |