From a4a17db0a778ee5cdccf290b892db8a81812b655 Mon Sep 17 00:00:00 2001 From: Alexandre Yang Date: Mon, 16 Mar 2020 18:42:50 +0100 Subject: [PATCH] Fix style --- src/main/java/org/datadog/jmxfetch/App.java | 3 ++- src/main/java/org/datadog/jmxfetch/reporter/Reporter.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/datadog/jmxfetch/App.java b/src/main/java/org/datadog/jmxfetch/App.java index 7bd857f3c..bb99889cf 100644 --- a/src/main/java/org/datadog/jmxfetch/App.java +++ b/src/main/java/org/datadog/jmxfetch/App.java @@ -814,7 +814,8 @@ private void sendServiceCheck( String checkName = instance.getCheckName(); String serviceCheckName = getServiceCheckName(instance); - reporter.sendServiceCheck(checkName, serviceCheckName, status, message, instance.getServiceCheckTags()); + reporter.sendServiceCheck( + checkName, serviceCheckName, status, message, instance.getServiceCheckTags()); reporter.resetServiceCheckCount(checkName); } diff --git a/src/main/java/org/datadog/jmxfetch/reporter/Reporter.java b/src/main/java/org/datadog/jmxfetch/reporter/Reporter.java index cdf9994a4..cf0132d6a 100644 --- a/src/main/java/org/datadog/jmxfetch/reporter/Reporter.java +++ b/src/main/java/org/datadog/jmxfetch/reporter/Reporter.java @@ -156,7 +156,8 @@ public void sendMetrics(List metrics, String instanceName, boolean canon } /** Submits service check. */ - public void sendServiceCheck(String checkName, String serviceCheckName, String status, String message, String[] tags) { + public void sendServiceCheck(String checkName, String serviceCheckName, + String status, String message, String[] tags) { this.incrementServiceCheckCount(checkName); this.doSendServiceCheck(serviceCheckName, status, message, tags); }