Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
lbarrios committed Sep 5, 2024
1 parent c515809 commit ca1b923
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -18,6 +20,7 @@
import java.nio.file.WatchKey;
import java.nio.file.WatchService;
import java.util.concurrent.TimeUnit;

import org.slf4j.Logger;

/**
Expand All @@ -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;
Expand Down

0 comments on commit ca1b923

Please sign in to comment.