Polish modifier declaration ordering
Follow that Java language specification.
This commit is contained in:
@@ -338,7 +338,7 @@ public class EndpointWebMvcChildContextConfiguration {
|
||||
|
||||
}
|
||||
|
||||
static abstract class AccessLogCustomizer<T extends EmbeddedServletContainerFactory>
|
||||
abstract static class AccessLogCustomizer<T extends EmbeddedServletContainerFactory>
|
||||
implements EmbeddedServletContainerCustomizer, Ordered {
|
||||
|
||||
private final Class<T> factoryClass;
|
||||
|
||||
@@ -190,7 +190,7 @@ public class ShellProperties {
|
||||
/**
|
||||
* Base class for CRaSH properties.
|
||||
*/
|
||||
public static abstract class CrshShellProperties {
|
||||
public abstract static class CrshShellProperties {
|
||||
|
||||
/**
|
||||
* Apply the properties to a CRaSH configuration.
|
||||
@@ -203,7 +203,7 @@ public class ShellProperties {
|
||||
/**
|
||||
* Base class for Auth specific properties.
|
||||
*/
|
||||
public static abstract class CrshShellAuthenticationProperties
|
||||
public abstract static class CrshShellAuthenticationProperties
|
||||
extends CrshShellProperties {
|
||||
|
||||
}
|
||||
|
||||
@@ -199,7 +199,7 @@ public class DropwizardMetricServices implements CounterService, GaugeService {
|
||||
/**
|
||||
* Simple {@link Gauge} implementation to {@literal double} value.
|
||||
*/
|
||||
private final static class SimpleGauge implements Gauge<Double> {
|
||||
private static final class SimpleGauge implements Gauge<Double> {
|
||||
|
||||
private volatile double value;
|
||||
|
||||
@@ -221,7 +221,7 @@ public class DropwizardMetricServices implements CounterService, GaugeService {
|
||||
/**
|
||||
* Strategy used to register metrics.
|
||||
*/
|
||||
private static abstract class MetricRegistrar<T extends Metric> {
|
||||
private abstract static class MetricRegistrar<T extends Metric> {
|
||||
|
||||
private final Class<T> type;
|
||||
|
||||
|
||||
@@ -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