Commit 41f29aec authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #7551 from oscr:redundant-array-test

* pr/7551:
  Remove redundant array creation for calling varargs method
parents e002e03b 38713c47
......@@ -139,7 +139,7 @@ public class EndpointMvcIntegrationTests {
@Override
public void customize(EndpointHandlerMapping mapping) {
mapping.setInterceptors(new Object[] { interceptor() });
mapping.setInterceptors(interceptor());
}
};
......
......@@ -850,7 +850,7 @@ public class EndpointWebMvcAutoConfigurationTests {
@Override
public void customize(EndpointHandlerMapping mapping) {
mapping.setInterceptors(new Object[] { interceptor() });
mapping.setInterceptors(interceptor());
}
};
......
......@@ -98,7 +98,7 @@ public class HalBrowserMvcEndpointDisabledIntegrationTests {
public static void main(String[] args) {
SpringApplication.run(SpringBootHypermediaApplication.class,
new String[] { "--endpoints.hypermedia.enabled=false" });
"--endpoints.hypermedia.enabled=false");
}
}
......
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