From a0f78180e28f724ad26010537a4ecc1c49091a3b Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Tue, 13 Dec 2011 17:09:40 +0100 Subject: [PATCH] EA-32576 (diagnostic) --- .../codeInsight/hint/InspectionDescriptionLinkHandler.java | 2 +- 1 file changed, 1 insertion(+), 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 d5f609f301e5..8060c299ac1f 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,7 @@ public class InspectionDescriptionLinkHandler extends TooltipLinkHandler { final PsiFile file = PsiDocumentManager.getInstance(project).getPsiFile(editor.getDocument()); if (file == null) { - LOG.error(editor); + LOG.error(editor.getDocument()); return null; }