mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ignore InterruptedException
This commit is contained in:
+5
-4
@@ -382,16 +382,17 @@ public class CompletionProgressIndicator extends ProgressIndicatorBase implement
|
||||
myLookup.addItem(item.getLookupElement(), item.getPrefixMatcher());
|
||||
myCount++;
|
||||
|
||||
if (myCount == 1/* && !ApplicationManager.getApplication().isUnitTestMode()todo [peter]*/) {
|
||||
if (myCount == 1) {
|
||||
ApplicationManager.getApplication().executeOnPooledThread(new Runnable() {
|
||||
public void run() {
|
||||
try {
|
||||
Thread.sleep(300);
|
||||
}
|
||||
catch (InterruptedException e) {
|
||||
LOG.error(e);
|
||||
catch (InterruptedException ignore) {
|
||||
}
|
||||
finally {
|
||||
myFreezeSemaphore.up();
|
||||
}
|
||||
myFreezeSemaphore.up();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user