CoreProgressManager: remove unused method

GitOrigin-RevId: befb8392110d770bcfeb2e8f550d79967033e5f2
This commit is contained in:
peter
2019-09-26 13:06:20 +00:00
committed by intellij-monorepo-bot
parent 5ce281fc20
commit 8a52b8220b
@@ -102,13 +102,6 @@ public class CoreProgressManager extends ProgressManager implements Disposable {
}
}
static boolean isThreadUnderIndicator(@NotNull ProgressIndicator indicator, @NotNull Thread thread) {
synchronized (threadsUnderIndicator) {
Set<Thread> threads = threadsUnderIndicator.get(indicator);
return threads != null && threads.contains(thread);
}
}
List<ProgressIndicator> getCurrentIndicators() {
synchronized (threadsUnderIndicator) {
return new ArrayList<>(threadsUnderIndicator.keySet());