From aacc2708a71ac8186e09934fe894b96d7e3d676a Mon Sep 17 00:00:00 2001 From: "Vladimir.Petrenko" Date: Tue, 20 Oct 2020 13:51:07 +0300 Subject: [PATCH] [CWM-167] use "debug" instead of "info" logging in ParameterInfoControllerProvider review fix for IJ-CR-3363 GitOrigin-RevId: 6cc335f002d122671760addc497a53efc0ad53cb --- .../codeInsight/hint/ParameterInfoControllerProvider.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/hint/ParameterInfoControllerProvider.java b/platform/lang-impl/src/com/intellij/codeInsight/hint/ParameterInfoControllerProvider.java index a1a4643732d3..431354dcea9c 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/hint/ParameterInfoControllerProvider.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/hint/ParameterInfoControllerProvider.java @@ -45,7 +45,7 @@ public abstract class ParameterInfoControllerProvider { public static void rememberEditor(@NotNull Editor editor) { if (editorsWithControllers == null) { - LOG.info("create map of weak references to remember all editors with custom parameter info controllers and attach EP-listener"); + LOG.debug("create map of weak references to remember all editors with custom parameter info controllers and attach EP-listener"); editorsWithControllers = ContainerUtil.createWeakSet(); // Weak... to avoid memory leaks caused by keeping disposed editors in memory EP_NAME.addExtensionPointListener(new ExtensionPointListener<>() { @Override @@ -56,13 +56,13 @@ public abstract class ParameterInfoControllerProvider { } if (!editorsWithControllers.contains(editor)) { - LOG.info("remember editor " + editor); + LOG.debug("remember editor " + editor); editorsWithControllers.add(editor); } } public static void removeControllersFromAllEditors() { - LOG.info("remove all parameter info controllers from all editors because an extension was removed"); + LOG.debug("remove all parameter info controllers from all editors because an extension was removed"); for (Editor editor : editorsWithControllers) { if (editor != null) { for (ParameterInfoControllerBase controller : ParameterInfoControllerBase.getAllControllers(editor)) {