From ca1b9238f23a5c30c31608eda7c00b9322311854 Mon Sep 17 00:00:00 2001 From: Leandro Ezequiel Barrios Date: Thu, 5 Sep 2024 16:55:43 -0300 Subject: [PATCH] Format --- .../common/watcher/TracingConfigurationFileWatcher.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/tracing/mule-tracer-common/src/main/java/org/mule/runtime/tracer/common/watcher/TracingConfigurationFileWatcher.java b/modules/tracing/mule-tracer-common/src/main/java/org/mule/runtime/tracer/common/watcher/TracingConfigurationFileWatcher.java index 5b3cb5768721..aa947562d6e9 100644 --- a/modules/tracing/mule-tracer-common/src/main/java/org/mule/runtime/tracer/common/watcher/TracingConfigurationFileWatcher.java +++ b/modules/tracing/mule-tracer-common/src/main/java/org/mule/runtime/tracer/common/watcher/TracingConfigurationFileWatcher.java @@ -7,7 +7,9 @@ package org.mule.runtime.tracer.common.watcher; import static org.mule.runtime.tracer.exporter.config.api.OpenTelemetrySpanExporterConfigurationProperties.MULE_OPEN_TELEMETRY_EXPORTER_CONFIGURATION_WATCHER_DEFAULT_DELAY_PROPERTY; + import static java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY; + import static org.slf4j.LoggerFactory.getLogger; import java.io.File; @@ -18,6 +20,7 @@ import java.nio.file.WatchKey; import java.nio.file.WatchService; import java.util.concurrent.TimeUnit; + import org.slf4j.Logger; /** @@ -26,9 +29,8 @@ public class TracingConfigurationFileWatcher extends Thread { private static final Logger LOGGER = getLogger(TracingConfigurationFileWatcher.class); - public final long DEFAULT_DELAY = Long - .getLong(MULE_OPEN_TELEMETRY_EXPORTER_CONFIGURATION_WATCHER_DEFAULT_DELAY_PROPERTY, - 60000l); + public final long DEFAULT_DELAY = + Long.getLong(MULE_OPEN_TELEMETRY_EXPORTER_CONFIGURATION_WATCHER_DEFAULT_DELAY_PROPERTY, 60000l); private final Runnable doOnChange; private final File file; private final WatchService watchService;