[^yole] it's not the end of the world if there's no PSI for a document (EA-34973)

This commit is contained in:
peter
2012-04-03 16:29:32 +02:00
parent b44139b98f
commit 095eaa07e5
@@ -46,7 +46,6 @@ public class InspectionDescriptionLinkHandler extends TooltipLinkHandler {
final PsiFile file = PsiDocumentManager.getInstance(project).getPsiFile(editor.getDocument());
if (file == null) {
LOG.error(editor.getDocument());
return null;
}