mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-22 09:09:01 +00:00
Merge pull request #7551 from oscr:redundant-array-test
* pr/7551: Remove redundant array creation for calling varargs method
This commit is contained in:
Regular → Executable
+1
-1
@@ -139,7 +139,7 @@ public class EndpointMvcIntegrationTests {
|
||||
|
||||
@Override
|
||||
public void customize(EndpointHandlerMapping mapping) {
|
||||
mapping.setInterceptors(new Object[] { interceptor() });
|
||||
mapping.setInterceptors(interceptor());
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Regular → Executable
+1
-1
@@ -850,7 +850,7 @@ public class EndpointWebMvcAutoConfigurationTests {
|
||||
|
||||
@Override
|
||||
public void customize(EndpointHandlerMapping mapping) {
|
||||
mapping.setInterceptors(new Object[] { interceptor() });
|
||||
mapping.setInterceptors(interceptor());
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Regular → Executable
+1
-1
@@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user