mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 13:20:56 +07:00
23 lines
327 B
Java
23 lines
327 B
Java
class DecrementDifferentFieldsDuplicate {
|
|
int x;
|
|
int y;
|
|
|
|
private void foo() {
|
|
|
|
newMethod();
|
|
|
|
if (y > 0) {
|
|
bar(y);
|
|
y--;
|
|
}
|
|
}
|
|
|
|
private void newMethod() {
|
|
if (x > 0) {
|
|
bar(x);
|
|
x--;
|
|
}
|
|
}
|
|
|
|
private void bar(int i) { }
|
|
} |