mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
rollback debug info
This commit is contained in:
@@ -201,7 +201,6 @@ class LookupUi {
|
||||
});
|
||||
}
|
||||
|
||||
long time = 0;
|
||||
void setCalculating(final boolean calculating) {
|
||||
Runnable setVisible = () -> myIconPanel.setVisible(myLookup.isCalculating());
|
||||
if (myLookup.isCalculating()) {
|
||||
@@ -211,14 +210,9 @@ class LookupUi {
|
||||
}
|
||||
|
||||
if (calculating) {
|
||||
if (time == 0) {
|
||||
time = System.currentTimeMillis();
|
||||
}
|
||||
myProcessIcon.resume();
|
||||
} else {
|
||||
myProcessIcon.suspend();
|
||||
System.err.println("completion took " + (System.currentTimeMillis() - time) + "ms");
|
||||
time = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user