Commit 175f451b authored by Brian Clozel's avatar Brian Clozel

Polish

parent 9cb64de5
...@@ -43,7 +43,7 @@ public class MeterRegistryConfigurerTests { ...@@ -43,7 +43,7 @@ public class MeterRegistryConfigurerTests {
.withPropertyValues("metrics.use-global-registry=false") .withPropertyValues("metrics.use-global-registry=false")
.run((context) -> assertThat(context.getBean(MeterRegistry.class) .run((context) -> assertThat(context.getBean(MeterRegistry.class)
.find("jvm.memory.used").tags("region", "us-east-1").gauge()) .find("jvm.memory.used").tags("region", "us-east-1").gauge())
.isPresent()); .isPresent());
} }
@Test @Test
...@@ -65,7 +65,6 @@ public class MeterRegistryConfigurerTests { ...@@ -65,7 +65,6 @@ public class MeterRegistryConfigurerTests {
return (registry) -> registry.config().commonTags("region", "us-east-1"); return (registry) -> registry.config().commonTags("region", "us-east-1");
} }
private class MyThing {}
@Bean @Bean
public MyThing myThing(MeterRegistry registry) { public MyThing myThing(MeterRegistry registry) {
...@@ -73,6 +72,9 @@ public class MeterRegistryConfigurerTests { ...@@ -73,6 +72,9 @@ public class MeterRegistryConfigurerTests {
return new MyThing(); return new MyThing();
} }
class MyThing {
}
} }
} }
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