diff --git a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/JolokiaAutoConfigurationTests.java b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/JolokiaAutoConfigurationTests.java index f70f110cca..68639f8440 100644 --- a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/JolokiaAutoConfigurationTests.java +++ b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/JolokiaAutoConfigurationTests.java @@ -144,8 +144,8 @@ public class JolokiaAutoConfigurationTests { public EndpointHandlerMapping endpointHandlerMapping( Collection endpoints) { EndpointHandlerMapping mapping = new EndpointHandlerMapping(endpoints); - mapping.setSecurityInterceptor( - new MvcEndpointSecurityInterceptor(false, Collections.emptyList())); + mapping.setSecurityInterceptor(new MvcEndpointSecurityInterceptor(false, + Collections.emptyList())); return mapping; }