Skip to content

Commit 9696737

Browse files
committed
Merge pull request #12019 from izeye:polish-modifier-order
* pr/12019: Polish "Polish modifier order" Polish modifier order
2 parents 114ece5 + d468a07 commit 9696737

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/security/reactive/EndpointRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public static EndpointServerWebExchangeMatcher to(String... endpoints) {
9191
* The {@link ServerWebExchangeMatcher} used to match against {@link Endpoint actuator
9292
* endpoints}.
9393
*/
94-
public final static class EndpointServerWebExchangeMatcher
94+
public static final class EndpointServerWebExchangeMatcher
9595
extends ApplicationContextServerWebExchangeMatcher<PathMappedEndpoints> {
9696

9797
private final List<Object> includes;

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/security/servlet/EndpointRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static EndpointRequestMatcher to(String... endpoints) {
8989
/**
9090
* The request matcher used to match against {@link Endpoint actuator endpoints}.
9191
*/
92-
public final static class EndpointRequestMatcher
92+
public static final class EndpointRequestMatcher
9393
extends ApplicationContextRequestMatcher<PathMappedEndpoints> {
9494

9595
private final List<Object> includes;

spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/elasticsearch/ElasticsearchHealthIndicatorTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 the original author or authors.
2+
* Copyright 2012-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -164,7 +164,7 @@ private <T> void assertDetail(Map<String, Object> details, String detail, T valu
164164
assertThat((T) details.get(detail)).isEqualTo(value);
165165
}
166166

167-
private final static class StubClusterHealthResponse extends ClusterHealthResponse {
167+
private static final class StubClusterHealthResponse extends ClusterHealthResponse {
168168

169169
private final ClusterHealthStatus status;
170170

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/reactive/StaticResourceRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public StaticResourceServerWebExchange at(Set<StaticResourceLocation> locations)
9292
* The server web exchange matcher used to match against resource
9393
* {@link StaticResourceLocation Locations}.
9494
*/
95-
public final static class StaticResourceServerWebExchange
95+
public static final class StaticResourceServerWebExchange
9696
implements ServerWebExchangeMatcher {
9797

9898
private final Set<StaticResourceLocation> locations;

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jms/artemis/ArtemisAutoConfigurationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ private TransportConfiguration getSingleTransportConfiguration(
319319
return transportConfigurations[0];
320320
}
321321

322-
private final static class DestinationChecker {
322+
private static final class DestinationChecker {
323323

324324
private final JmsTemplate jmsTemplate;
325325

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jndi/TestableInitialContextFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 the original author or authors.
2+
* Copyright 2012-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -64,7 +64,7 @@ private static TestableContext getContext() {
6464
return context;
6565
}
6666

67-
private final static class TestableContext extends InitialContext {
67+
private static final class TestableContext extends InitialContext {
6868

6969
private final Map<String, Object> bindings = new HashMap<>();
7070

spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/tunnel/payload/HttpTunnelPayload.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class HttpTunnelPayload {
4545

4646
private static final int BUFFER_SIZE = 1024 * 100;
4747

48-
protected final static char[] HEX_CHARS = "0123456789ABCDEF".toCharArray();
48+
protected static final char[] HEX_CHARS = "0123456789ABCDEF".toCharArray();
4949

5050
private static final Log logger = LogFactory.getLog(HttpTunnelPayload.class);
5151

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/util/LambdaSafe.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public boolean match(Class<C> callbackType, C callbackInstance, A argument,
370370
* {@code null} as a valid value.
371371
* @param <R> The result type
372372
*/
373-
public final static class InvocationResult<R> {
373+
public static final class InvocationResult<R> {
374374

375375
private static final InvocationResult<?> NONE = new InvocationResult<>(null);
376376

0 commit comments

Comments
 (0)