mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-105239 - PCE: InjectedGeneralHighlightingPass.getInjectedPsiFiles
This commit is contained in:
+3
-6
@@ -130,13 +130,10 @@ public class AbstractProgressIndicatorBase extends UserDataHolderBase implements
|
||||
|
||||
@Override
|
||||
public void checkCanceled() {
|
||||
CoreProgressManager.runCheckCanceledHooks(this);
|
||||
if (isCanceled() && isCancelable()) {
|
||||
throw new ProcessCanceledException(getCancellationTrace());
|
||||
}
|
||||
if (CoreProgressManager.runCheckCanceledHooks(this)) {
|
||||
if (isCanceled() && isCancelable()) {
|
||||
throw new ProcessCanceledException(getCancellationTrace());
|
||||
}
|
||||
Throwable trace = getCancellationTrace();
|
||||
throw new ProcessCanceledException(trace instanceof ProcessCanceledException ? trace.getCause() : trace);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user