mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
17 lines
292 B
Java
17 lines
292 B
Java
class WriteDifferentFieldsDuplicate {
|
|
Runnable x;
|
|
Runnable y;
|
|
|
|
private void foo() {
|
|
<selection>
|
|
if (x != null) {
|
|
x.run();
|
|
x = null;
|
|
}</selection>
|
|
|
|
if (y != null) {
|
|
y.run();
|
|
y = null;
|
|
}
|
|
}
|
|
} |