diff --git a/platform/lang-impl/src/com/intellij/ide/scratch/ScratchFileType.java b/platform/lang-impl/src/com/intellij/ide/scratch/ScratchFileType.java index abac965ebed4..4fd6135719ec 100644 --- a/platform/lang-impl/src/com/intellij/ide/scratch/ScratchFileType.java +++ b/platform/lang-impl/src/com/intellij/ide/scratch/ScratchFileType.java @@ -70,10 +70,4 @@ public class ScratchFileType extends LanguageFileType implements FileTypeIdentif public boolean isReadOnly() { return true; } - - @Nullable - @Override - public String getCharset(@NotNull VirtualFile file, @NotNull byte[] content) { - return null; - } } diff --git a/python/src/com/jetbrains/pyqt/QtFileType.java b/python/src/com/jetbrains/pyqt/QtFileType.java index ccc37ba48ec6..21a44cdcf815 100644 --- a/python/src/com/jetbrains/pyqt/QtFileType.java +++ b/python/src/com/jetbrains/pyqt/QtFileType.java @@ -61,11 +61,6 @@ public abstract class QtFileType extends LanguageFileType implements INativeFile return false; } - @Override - public String getCharset(@NotNull VirtualFile file, @NotNull byte[] content) { - return null; - } - @Override public boolean openFileInAssociatedApplication(Project project, @NotNull VirtualFile file) { String qtTool = findQtTool(ModuleUtilCore.findModuleForFile(file, project), getToolName());