From ac2122d9a4a882025d082ebf54275159e4b30ac2 Mon Sep 17 00:00:00 2001 From: Dmitry Batkovich Date: Wed, 13 Jul 2016 16:22:54 +0300 Subject: [PATCH] code highlighting: redundant LOG.debug-s removed (could lead to exception during IntentionAction#getText. see for example AddNewArrayExpressionFix#getText implementation) --- .../codeInsight/daemon/impl/DaemonCodeAnalyzerImpl.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/DaemonCodeAnalyzerImpl.java b/platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/DaemonCodeAnalyzerImpl.java index e87cb8362373..b2c2a9435881 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/DaemonCodeAnalyzerImpl.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/DaemonCodeAnalyzerImpl.java @@ -278,7 +278,6 @@ public class DaemonCodeAnalyzerImpl extends DaemonCodeAnalyzerEx implements Pers return 0; }); - LOG.debug("All passes for " + psiFile.getName()+ " started (" + passes+"). progress canceled: "+progress.isCanceled()); try { for (TextEditorHighlightingPass pass : passes) { pass.doCollectInformation(progress); @@ -289,7 +288,6 @@ public class DaemonCodeAnalyzerImpl extends DaemonCodeAnalyzerEx implements Pers LOG.debug("Canceled: " + progress); throw e; } - LOG.debug("All passes for " + psiFile.getName()+ " run. progress canceled: "+progress.isCanceled()+"; infos: "+result); } } finally {