mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -177,9 +177,11 @@ public class CompilerConfigurationImpl extends CompilerConfiguration implements
|
||||
else {
|
||||
previous = myModuleBytecodeTarget.put(module.getName(), level);
|
||||
}
|
||||
if (!Comparing.equal(previous, level)) {
|
||||
//final Project project = module.getProject(); // todo[jeka] so what?
|
||||
}
|
||||
// todo: mark module as dirty in order to rebuild it completely with the new target level
|
||||
//if (!Comparing.equal(previous, level)) {
|
||||
// final Project project = module.getProject();
|
||||
//
|
||||
//}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -53,7 +53,10 @@ import com.intellij.openapi.util.SystemInfo;
|
||||
import com.intellij.openapi.util.io.FileUtil;
|
||||
import com.intellij.openapi.util.registry.Registry;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.openapi.vfs.*;
|
||||
import com.intellij.openapi.vfs.LocalFileSystem;
|
||||
import com.intellij.openapi.vfs.SavingRequestor;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.openapi.vfs.VirtualFileManager;
|
||||
import com.intellij.openapi.vfs.encoding.EncodingManager;
|
||||
import com.intellij.openapi.vfs.newvfs.BulkFileListener;
|
||||
import com.intellij.openapi.vfs.newvfs.events.VFileEvent;
|
||||
@@ -276,6 +279,11 @@ public class BuildManager implements ApplicationComponent{
|
||||
}
|
||||
catch (RejectedExecutionException ignored) {
|
||||
// we were shut down
|
||||
myAutoMakeInProgress.set(false);
|
||||
}
|
||||
catch (Throwable e) {
|
||||
myAutoMakeInProgress.set(false);
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user