From b9b22d69bd9bd5990e027709a7f04145a5099dbc Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Wed, 8 Jan 2020 16:36:45 +0100 Subject: [PATCH] turn off warning GitOrigin-RevId: bec4bcc049f08039129ca89829ff0813d944074d --- .../com/intellij/openapi/util/registry/RegistryValue.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/platform/util/src/com/intellij/openapi/util/registry/RegistryValue.java b/platform/util/src/com/intellij/openapi/util/registry/RegistryValue.java index 4dd4bfb01050..af26c0d5543d 100644 --- a/platform/util/src/com/intellij/openapi/util/registry/RegistryValue.java +++ b/platform/util/src/com/intellij/openapi/util/registry/RegistryValue.java @@ -171,9 +171,10 @@ public class RegistryValue { return systemProperty; } - if (!myRegistry.isLoaded() && !isHeadlessMode()) { - LOG.warn("The registry key '" + key + "' accessed, but not loaded yet"); - } + //todo[kb] uncomment when have a better description for what to do with this warning + //if (!myRegistry.isLoaded() && !isHeadlessMode()) { + //LOG.warn("The registry key '" + key + "' accessed, but not loaded yet"); + //} final String bundleValue = Registry.getInstance().getBundleValue(key, mustExistInBundle); if (bundleValue != null) {