mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-81494 (Frequent "language level changed" notifications when re-importing maven projects)
This commit is contained in:
+3
-1
@@ -140,6 +140,8 @@ public class MavenModuleImporter {
|
||||
|
||||
private void configLanguageLevel() {
|
||||
final LanguageLevel level = LanguageLevel.parse(myMavenProject.getSourceLevel());
|
||||
myRootModelAdapter.setLanguageLevel(level);
|
||||
if (level != null) {
|
||||
myRootModelAdapter.setLanguageLevel(level);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user