From eac6991d8d4d32c1c12809668d66894558f0af25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Bavelier?= Date: Fri, 23 Aug 2024 11:34:51 +0200 Subject: [PATCH] break warn log for lint --- src/main/java/org/datadog/jmxfetch/Instance.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/datadog/jmxfetch/Instance.java b/src/main/java/org/datadog/jmxfetch/Instance.java index c17bb67d..2290e20e 100644 --- a/src/main/java/org/datadog/jmxfetch/Instance.java +++ b/src/main/java/org/datadog/jmxfetch/Instance.java @@ -164,7 +164,9 @@ public Instance( try { this.maxReturnedMetrics = Integer.parseInt((String) maxReturnedMetrics); } catch (NumberFormatException e) { - log.warn("Cannot convert max_returned_metrics to integer in your instance configuration. Defaulting to '{}'.", MAX_RETURNED_METRICS); + log.warn( + "Cannot convert max_returned_metrics to integer in your instance configuration. Defaulting to '{}'.", + MAX_RETURNED_METRICS); this.maxReturnedMetrics = MAX_RETURNED_METRICS; } } else {