From 13a9bc0537f3a6e911b2ddb1ca9430b325710cf7 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 16 Aug 2016 13:25:16 +0100 Subject: [PATCH] =?UTF-8?q?Polish=20=E2=80=9CAllow=20injection=20of=20Stat?= =?UTF-8?q?sDClient=20into=20StatsdMetricWriter=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes gh-6588 --- .../boot/actuate/metrics/statsd/StatsdMetricWriter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/statsd/StatsdMetricWriter.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/statsd/StatsdMetricWriter.java index ae09545170..292dd46b5b 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/statsd/StatsdMetricWriter.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/statsd/StatsdMetricWriter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2015 the original author or authors. + * Copyright 2012-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -64,7 +64,7 @@ public class StatsdMetricWriter implements MetricWriter, Closeable { */ public StatsdMetricWriter(String prefix, String host, int port) { this(new NonBlockingStatsDClient(trimPrefix(prefix), host, port, - new LoggingStatsdErrorHandler())); + new LoggingStatsdErrorHandler())); } /**