From 095eaa07e5eb3341a544df18794093f99e2ea725 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 3 Apr 2012 16:23:41 +0200 Subject: [PATCH] [^yole] it's not the end of the world if there's no PSI for a document (EA-34973) --- .../codeInsight/hint/InspectionDescriptionLinkHandler.java | 1 - 1 file changed, 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/hint/InspectionDescriptionLinkHandler.java b/platform/lang-impl/src/com/intellij/codeInsight/hint/InspectionDescriptionLinkHandler.java index 8060c299ac1f..63cb09bf1a43 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/hint/InspectionDescriptionLinkHandler.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/hint/InspectionDescriptionLinkHandler.java @@ -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; }