Polish
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2013 the original author or authors.
|
||||
* Copyright 2013-2014 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.
|
||||
@@ -26,8 +26,6 @@ import org.crsh.plugin.PluginLifeCycle;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
import org.springframework.beans.MutablePropertyValues;
|
||||
import org.springframework.boot.actuate.autoconfigure.CrshAutoConfiguration;
|
||||
import org.springframework.boot.actuate.autoconfigure.ShellProperties;
|
||||
import org.springframework.boot.actuate.autoconfigure.ShellProperties.CrshShellProperties;
|
||||
import org.springframework.boot.actuate.autoconfigure.ShellProperties.JaasAuthenticationProperties;
|
||||
import org.springframework.boot.actuate.autoconfigure.ShellProperties.KeyAuthenticationProperties;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2013 the original author or authors.
|
||||
* Copyright 2012-2014 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.
|
||||
@@ -127,16 +127,16 @@ public class CodahaleMetricWriterTests {
|
||||
public void run() {
|
||||
for (int i = 0; i < 10000; i++) {
|
||||
try {
|
||||
Metric<Integer> metric1 = new Metric<Integer>(
|
||||
"timer.test.service", this.index);
|
||||
Metric<Integer> metric1 = new Metric<Integer>("timer.test.service",
|
||||
this.index);
|
||||
this.writer.set(metric1);
|
||||
|
||||
Metric<Integer> metric2 = new Metric<Integer>(
|
||||
"histogram.test.service", this.index);
|
||||
this.writer.set(metric2);
|
||||
|
||||
Metric<Integer> metric3 = new Metric<Integer>(
|
||||
"gauge.test.service", this.index);
|
||||
Metric<Integer> metric3 = new Metric<Integer>("gauge.test.service",
|
||||
this.index);
|
||||
this.writer.set(metric3);
|
||||
}
|
||||
catch (IllegalArgumentException iae) {
|
||||
|
||||
Reference in New Issue
Block a user