mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
eliminate induced error EA-35236
This commit is contained in:
@@ -190,9 +190,8 @@ public class BlockSupportImpl extends BlockSupport {
|
||||
final PsiFileImpl newFile = (PsiFileImpl)copy.getPsi(language);
|
||||
|
||||
if (newFile == null) {
|
||||
LOG.error("View provider " + viewProvider + " refused to parse text with " + language +
|
||||
throw new RuntimeException("View provider " + viewProvider + " refused to parse text with " + language +
|
||||
"; base: " + viewProvider.getBaseLanguage() + "; copy: " + copy.getBaseLanguage() + "; fileType: " + fileType);
|
||||
return null;
|
||||
}
|
||||
|
||||
newFile.setOriginalFile(fileImpl);
|
||||
|
||||
Reference in New Issue
Block a user