diff --git a/src/main/java/com/redhat/devtools/intellij/common/utils/ConfigWatcher.java b/src/main/java/com/redhat/devtools/intellij/common/utils/ConfigWatcher.java index 4130c5f..696f992 100644 --- a/src/main/java/com/redhat/devtools/intellij/common/utils/ConfigWatcher.java +++ b/src/main/java/com/redhat/devtools/intellij/common/utils/ConfigWatcher.java @@ -49,9 +49,7 @@ public ConfigWatcher(Path config, Listener listener) { @Override public void run() { runOnConfigChange((Config config) -> { - if (config != null) { - listener.onUpdate(this, config); - } + listener.onUpdate(this, config); }); }