mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
disable "increase language level fix" in libraries (IDEA-118378)
This commit is contained in:
+1
@@ -70,6 +70,7 @@ public class IncreaseLanguageLevelFix implements IntentionAction {
|
||||
final VirtualFile virtualFile = file.getVirtualFile();
|
||||
if (virtualFile == null) return false;
|
||||
final Module module = ModuleUtilCore.findModuleForFile(virtualFile, project);
|
||||
if (module == null) return false;
|
||||
return isLanguageLevelAcceptable(project, module, myLevel);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user