This commit is contained in:
Vladimir Krivosheev
2015-01-21 14:38:09 +01:00
parent 9ecc6547eb
commit 686d9b668b
@@ -551,9 +551,9 @@ public abstract class DebuggerUtils {
return isDebugAware(file, true);
}
@SuppressWarnings("deprecation")
private static boolean isDebugAware(@NotNull PsiFile file, boolean breakpointAware) {
FileType fileType = file.getFileType();
//noinspection deprecation
if (fileType instanceof LanguageFileType && ((LanguageFileType)fileType).isJVMDebuggingSupported()) {
return true;
}