From c115ee1550ecf4bc8164e59a4f69b59addd50cc6 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 14 Mar 2019 19:34:19 +0100 Subject: [PATCH] Fix build failure --- .../endpoint/jmx/DefaultEndpointObjectNameFactoryTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/DefaultEndpointObjectNameFactoryTests.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/DefaultEndpointObjectNameFactoryTests.java index 04681f14b5..0cea053ffc 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/DefaultEndpointObjectNameFactoryTests.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/DefaultEndpointObjectNameFactoryTests.java @@ -42,8 +42,7 @@ public class DefaultEndpointObjectNameFactoryTests { private final MockEnvironment environment = new MockEnvironment(); - private final JmxEndpointProperties properties = new JmxEndpointProperties( - this.environment); + private final JmxEndpointProperties properties = new JmxEndpointProperties(); private final MBeanServer mBeanServer = mock(MBeanServer.class);