Polish modifier declaration ordering
Follow that Java language specification.
This commit is contained in:
@@ -100,7 +100,7 @@ public class ConfigurationPropertiesReportEndpointProxyTests {
|
||||
|
||||
}
|
||||
|
||||
public static abstract class AbstractExecutor implements Executor {
|
||||
public abstract static class AbstractExecutor implements Executor {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ public class HalBrowserMvcEndpointVanillaIntegrationTests {
|
||||
if ("/actuator".equals(path)) {
|
||||
continue;
|
||||
}
|
||||
path = path.startsWith("/") ? path.substring(1) : path;
|
||||
path = (path.startsWith("/") ? path.substring(1) : path);
|
||||
this.mockMvc.perform(get("/actuator").accept(MediaType.APPLICATION_JSON))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$._links.%s.href", path).exists());
|
||||
@@ -126,7 +126,7 @@ public class HalBrowserMvcEndpointVanillaIntegrationTests {
|
||||
if (collections.contains(path)) {
|
||||
continue;
|
||||
}
|
||||
path = path.length() > 0 ? path : "/";
|
||||
path = (path.length() > 0 ? path : "/");
|
||||
this.mockMvc.perform(get(path).accept(MediaType.APPLICATION_JSON))
|
||||
.andExpect(status().isOk()).andExpect(jsonPath("$._links.self.href")
|
||||
.value("http://localhost" + endpoint.getPath()));
|
||||
|
||||
@@ -164,7 +164,7 @@ public class ElasticsearchHealthIndicatorTests {
|
||||
assertThat((T) details.get(detail)).isEqualTo(value);
|
||||
}
|
||||
|
||||
private final static class StubClusterHealthResponse extends ClusterHealthResponse {
|
||||
private static final class StubClusterHealthResponse extends ClusterHealthResponse {
|
||||
|
||||
private final ClusterHealthStatus status;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user