Commit 683c19ee authored by Phillip Webb's avatar Phillip Webb

Polish

parent 0d6c197c
...@@ -38,8 +38,7 @@ public class MetricExportProperties extends TriggerProperties { ...@@ -38,8 +38,7 @@ public class MetricExportProperties extends TriggerProperties {
/** /**
* Specific trigger properties per MetricWriter bean name. * Specific trigger properties per MetricWriter bean name.
*/ */
private Map<String, SpecificTriggerProperties> triggers private Map<String, SpecificTriggerProperties> triggers = new LinkedHashMap<String, SpecificTriggerProperties>();
= new LinkedHashMap<String, SpecificTriggerProperties>();
private Redis redis = new Redis(); private Redis redis = new Redis();
......
/* /*
* Copyright 2012-2014 the original author or authors. * Copyright 2012-2015 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -47,8 +47,7 @@ import com.codahale.metrics.Timer; ...@@ -47,8 +47,7 @@ import com.codahale.metrics.Timer;
* </ul> * </ul>
* *
* @author Dave Syer * @author Dave Syer
* * @deprecated Since 1.3 in favor of {@link DropwizardMetricServices}
* @deprecated Use {@link DropwizardMetricServices} instead
*/ */
@Deprecated @Deprecated
public class DropwizardMetricWriter implements MetricWriter { public class DropwizardMetricWriter implements MetricWriter {
...@@ -134,6 +133,7 @@ public class DropwizardMetricWriter implements MetricWriter { ...@@ -134,6 +133,7 @@ public class DropwizardMetricWriter implements MetricWriter {
public Double getValue() { public Double getValue() {
return this.value; return this.value;
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment