Polish: reorder the modifiers to comply with the Java Language Specification.
This commit is contained in:
committed by
Juergen Hoeller
parent
a02aafe5fe
commit
0f7485b01d
@@ -193,7 +193,7 @@ class DefaultEntityResponseBuilder<T> implements EntityResponse.Builder<T> {
|
||||
}
|
||||
|
||||
|
||||
private final static class DefaultEntityResponse<T>
|
||||
private static final class DefaultEntityResponse<T>
|
||||
extends DefaultServerResponseBuilder.AbstractServerResponse
|
||||
implements EntityResponse<T> {
|
||||
|
||||
|
||||
@@ -278,7 +278,7 @@ class DefaultServerResponseBuilder implements ServerResponse.BodyBuilder {
|
||||
}
|
||||
|
||||
|
||||
static abstract class AbstractServerResponse implements ServerResponse {
|
||||
abstract static class AbstractServerResponse implements ServerResponse {
|
||||
|
||||
private static final Set<HttpMethod> SAFE_METHODS = EnumSet.of(HttpMethod.GET, HttpMethod.HEAD);
|
||||
|
||||
|
||||
@@ -303,7 +303,7 @@ public abstract class RouterFunctions {
|
||||
}
|
||||
|
||||
|
||||
private static abstract class AbstractRouterFunction<T extends ServerResponse> implements RouterFunction<T> {
|
||||
private abstract static class AbstractRouterFunction<T extends ServerResponse> implements RouterFunction<T> {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
@@ -313,7 +313,7 @@ public abstract class RouterFunctions {
|
||||
}
|
||||
}
|
||||
|
||||
final static class SameComposedRouterFunction<T extends ServerResponse> extends AbstractRouterFunction<T> {
|
||||
static final class SameComposedRouterFunction<T extends ServerResponse> extends AbstractRouterFunction<T> {
|
||||
|
||||
private final RouterFunction<T> first;
|
||||
|
||||
@@ -337,7 +337,7 @@ public abstract class RouterFunctions {
|
||||
}
|
||||
}
|
||||
|
||||
final static class DifferentComposedRouterFunction extends AbstractRouterFunction<ServerResponse> {
|
||||
static final class DifferentComposedRouterFunction extends AbstractRouterFunction<ServerResponse> {
|
||||
|
||||
private final RouterFunction<?> first;
|
||||
|
||||
@@ -363,7 +363,7 @@ public abstract class RouterFunctions {
|
||||
|
||||
}
|
||||
|
||||
final static class FilteredRouterFunction<T extends ServerResponse, S extends ServerResponse>
|
||||
static final class FilteredRouterFunction<T extends ServerResponse, S extends ServerResponse>
|
||||
implements RouterFunction<S> {
|
||||
|
||||
private final RouterFunction<T> routerFunction;
|
||||
|
||||
@@ -167,7 +167,7 @@ public class CssLinkResourceTransformer extends ResourceTransformerSupport {
|
||||
}
|
||||
|
||||
|
||||
protected static abstract class AbstractLinkParser implements LinkParser {
|
||||
protected abstract static class AbstractLinkParser implements LinkParser {
|
||||
|
||||
/** Return the keyword to use to search for links, e.g. "@import", "url(" */
|
||||
protected abstract String getKeyword();
|
||||
|
||||
@@ -47,9 +47,9 @@ import org.springframework.web.server.ServerWebExchange;
|
||||
*/
|
||||
public class WebJarsResourceResolver extends AbstractResourceResolver {
|
||||
|
||||
private final static String WEBJARS_LOCATION = "META-INF/resources/webjars/";
|
||||
private static final String WEBJARS_LOCATION = "META-INF/resources/webjars/";
|
||||
|
||||
private final static int WEBJARS_LOCATION_LENGTH = WEBJARS_LOCATION.length();
|
||||
private static final int WEBJARS_LOCATION_LENGTH = WEBJARS_LOCATION.length();
|
||||
|
||||
|
||||
private final WebJarAssetLocator webJarAssetLocator;
|
||||
|
||||
@@ -44,7 +44,7 @@ import org.springframework.web.server.UnsupportedMediaTypeStatusException;
|
||||
*/
|
||||
public final class ConsumesRequestCondition extends AbstractRequestCondition<ConsumesRequestCondition> {
|
||||
|
||||
private final static ConsumesRequestCondition PRE_FLIGHT_MATCH = new ConsumesRequestCondition();
|
||||
private static final ConsumesRequestCondition PRE_FLIGHT_MATCH = new ConsumesRequestCondition();
|
||||
|
||||
|
||||
private final List<ConsumeMediaTypeExpression> expressions;
|
||||
|
||||
@@ -39,7 +39,7 @@ import org.springframework.web.server.ServerWebExchange;
|
||||
*/
|
||||
public final class HeadersRequestCondition extends AbstractRequestCondition<HeadersRequestCondition> {
|
||||
|
||||
private final static HeadersRequestCondition PRE_FLIGHT_MATCH = new HeadersRequestCondition();
|
||||
private static final HeadersRequestCondition PRE_FLIGHT_MATCH = new HeadersRequestCondition();
|
||||
|
||||
|
||||
private final Set<HeaderExpression> expressions;
|
||||
|
||||
@@ -47,7 +47,7 @@ import org.springframework.web.server.ServerWebExchange;
|
||||
*/
|
||||
public final class ProducesRequestCondition extends AbstractRequestCondition<ProducesRequestCondition> {
|
||||
|
||||
private final static ProducesRequestCondition PRE_FLIGHT_MATCH = new ProducesRequestCondition();
|
||||
private static final ProducesRequestCondition PRE_FLIGHT_MATCH = new ProducesRequestCondition();
|
||||
|
||||
|
||||
private final List<ProduceMediaTypeExpression> mediaTypeAllList =
|
||||
|
||||
Reference in New Issue
Block a user