return !canceled.get();
}
});
if (!failedFiles.isEmpty()) {
for (final VirtualFile vfile : failedFiles) {
<BUG>checkCanceled(progress);
TooManyUsagesStatus.getFrom(progress).pauseProcessingIfTooManyUsages();</BUG>
ApplicationManager.getApplication().runReadAction(new Runnable() {
@Override
public void run() {

return !canceled.get();
}
});
if (!failedFiles.isEmpty()) {
for (final VirtualFile vfile : failedFiles) {
progress.checkCanceled();
TooManyUsagesStatus.getFrom(progress).pauseProcessingIfTooManyUsages();
ApplicationManager.getApplication().runReadAction(new Runnable() {
@Override
public void run() {
