ignore InterruptedException

This commit is contained in:
peter
2011-08-17 21:45:04 +02:00
parent d64bba0fa3
commit 37ea2533e7
@@ -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();
}
});
}