This commit is contained in:
Phillip Webb 2016-12-28 15:41:00 -08:00
parent 8b69856fc9
commit 367963f29f

View File

@ -144,8 +144,8 @@ public class JolokiaAutoConfigurationTests {
public EndpointHandlerMapping endpointHandlerMapping(
Collection<? extends MvcEndpoint> endpoints) {
EndpointHandlerMapping mapping = new EndpointHandlerMapping(endpoints);
mapping.setSecurityInterceptor(
new MvcEndpointSecurityInterceptor(false, Collections.emptyList()));
mapping.setSecurityInterceptor(new MvcEndpointSecurityInterceptor(false,
Collections.<String>emptyList()));
return mapping;
}