Skip to content

Commit

Permalink
Fix Findbugs issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Miel Donkers committed Jan 2, 2017
1 parent 2357eca commit 4fe17e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public AppDynamicsReport createReportFromMeasurements() {
if (metric != null) {
adReport.addMetrics(metric);
} else {
logger.println(String.format("No result for metric: %s \n\t--> Check if metric exists and correctly formatted.", metricPath));
logger.println(String.format("No result for metric: %s %n\t--> Check if metric exists and correctly formatted.", metricPath));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public MetricData fetchMetricData(final String metricPath, int durationInMinutes
}
} catch (Exception e) {
LOG.log(Level.INFO, String.format("Some problem fetching metrics %s from the AppDynamics REST interface." +
"\n\tsee stack-trace for more information", metricPath), e);
"%n\tsee stack-trace for more information", metricPath), e);
}

return resultData;
Expand Down

0 comments on commit 4fe17e1

Please sign in to comment.