Merge pull request #12019 from izeye:polish-modifier-order
* pr/12019: Polish "Polish modifier order" Polish modifier order
This commit is contained in:
@@ -91,7 +91,7 @@ public final class EndpointRequest {
|
||||
* The {@link ServerWebExchangeMatcher} used to match against {@link Endpoint actuator
|
||||
* endpoints}.
|
||||
*/
|
||||
public final static class EndpointServerWebExchangeMatcher
|
||||
public static final class EndpointServerWebExchangeMatcher
|
||||
extends ApplicationContextServerWebExchangeMatcher<PathMappedEndpoints> {
|
||||
|
||||
private final List<Object> includes;
|
||||
|
||||
@@ -89,7 +89,7 @@ public final class EndpointRequest {
|
||||
/**
|
||||
* The request matcher used to match against {@link Endpoint actuator endpoints}.
|
||||
*/
|
||||
public final static class EndpointRequestMatcher
|
||||
public static final class EndpointRequestMatcher
|
||||
extends ApplicationContextRequestMatcher<PathMappedEndpoints> {
|
||||
|
||||
private final List<Object> includes;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2017 the original author or authors.
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ public final class StaticResourceRequest {
|
||||
* The server web exchange matcher used to match against resource
|
||||
* {@link StaticResourceLocation Locations}.
|
||||
*/
|
||||
public final static class StaticResourceServerWebExchange
|
||||
public static final class StaticResourceServerWebExchange
|
||||
implements ServerWebExchangeMatcher {
|
||||
|
||||
private final Set<StaticResourceLocation> locations;
|
||||
|
||||
@@ -319,7 +319,7 @@ public class ArtemisAutoConfigurationTests {
|
||||
return transportConfigurations[0];
|
||||
}
|
||||
|
||||
private final static class DestinationChecker {
|
||||
private static final class DestinationChecker {
|
||||
|
||||
private final JmsTemplate jmsTemplate;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2017 the original author or authors.
|
||||
* Copyright 2012-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -64,7 +64,7 @@ public class TestableInitialContextFactory implements InitialContextFactory {
|
||||
return context;
|
||||
}
|
||||
|
||||
private final static class TestableContext extends InitialContext {
|
||||
private static final class TestableContext extends InitialContext {
|
||||
|
||||
private final Map<String, Object> bindings = new HashMap<>();
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ public class HttpTunnelPayload {
|
||||
|
||||
private static final int BUFFER_SIZE = 1024 * 100;
|
||||
|
||||
protected final static char[] HEX_CHARS = "0123456789ABCDEF".toCharArray();
|
||||
protected static final char[] HEX_CHARS = "0123456789ABCDEF".toCharArray();
|
||||
|
||||
private static final Log logger = LogFactory.getLog(HttpTunnelPayload.class);
|
||||
|
||||
|
||||
@@ -370,7 +370,7 @@ public final class LambdaSafe {
|
||||
* {@code null} as a valid value.
|
||||
* @param <R> The result type
|
||||
*/
|
||||
public final static class InvocationResult<R> {
|
||||
public static final class InvocationResult<R> {
|
||||
|
||||
private static final InvocationResult<?> NONE = new InvocationResult<>(null);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user