diff options
Diffstat (limited to 'java/java-impl/src/com/intellij/openapi/roots/impl/JavaLanguageLevelPusher.java')
-rw-r--r-- | java/java-impl/src/com/intellij/openapi/roots/impl/JavaLanguageLevelPusher.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/java-impl/src/com/intellij/openapi/roots/impl/JavaLanguageLevelPusher.java b/java/java-impl/src/com/intellij/openapi/roots/impl/JavaLanguageLevelPusher.java index d933576fc697..a4e7b64241f3 100644 --- a/java/java-impl/src/com/intellij/openapi/roots/impl/JavaLanguageLevelPusher.java +++ b/java/java-impl/src/com/intellij/openapi/roots/impl/JavaLanguageLevelPusher.java @@ -86,7 +86,7 @@ public class JavaLanguageLevelPusher implements FilePropertyPusher<LanguageLevel private static final FileAttribute PERSISTENCE = new FileAttribute("language_level_persistence", 3, true); @Override - public void persistAttribute(@NotNull VirtualFile fileOrDir, @NotNull LanguageLevel level) throws IOException { + public void persistAttribute(@NotNull Project project, @NotNull VirtualFile fileOrDir, @NotNull LanguageLevel level) throws IOException { final DataInputStream iStream = PERSISTENCE.readAttribute(fileOrDir); if (iStream != null) { try { @@ -104,7 +104,7 @@ public class JavaLanguageLevelPusher implements FilePropertyPusher<LanguageLevel for (VirtualFile child : fileOrDir.getChildren()) { if (!child.isDirectory() && StdFileTypes.JAVA.equals(child.getFileType())) { - PushedFilePropertiesUpdater.filePropertiesChanged(child); + PushedFilePropertiesUpdater.getInstance(project).filePropertiesChanged(child); } } } |