Skip to content

Polish modifier order #12019

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public static EndpointServerWebExchangeMatcher to(String... endpoints) {
* 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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public static EndpointRequestMatcher to(String... endpoints) {
/**
* 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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private <T> void assertDetail(Map<String, Object> details, String detail, T valu
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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public StaticResourceServerWebExchange at(Set<StaticResourceLocation> locations)
* 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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ private TransportConfiguration getSingleTransportConfiguration(
return transportConfigurations[0];
}

private final static class DestinationChecker {
private static final class DestinationChecker {

private final JmsTemplate jmsTemplate;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private static TestableContext getContext() {
return context;
}

private final static class TestableContext extends InitialContext {
private static final class TestableContext extends InitialContext {

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ public boolean match(Class<C> callbackType, C callbackInstance, A argument,
* {@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);

Expand Down