Order modifiers to align with JLS
This commit also applies Checkstyle ModifierOrder to enforce it. See gh-31368
This commit is contained in:
committed by
Stéphane Nicoll
parent
f60791a8e2
commit
919faa2ce2
@@ -151,7 +151,7 @@ public class DefaultMetadataExtractor implements MetadataExtractor, MetadataExtr
|
||||
private static class EntryExtractor<T> {
|
||||
|
||||
// We only need this to wrap ByteBufs
|
||||
private final static NettyDataBufferFactory bufferFactory =
|
||||
private static final NettyDataBufferFactory bufferFactory =
|
||||
new NettyDataBufferFactory(ByteBufAllocator.DEFAULT);
|
||||
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ public final class RSocketRequestValues {
|
||||
/**
|
||||
* Builder for {@link RSocketRequestValues}.
|
||||
*/
|
||||
public final static class Builder {
|
||||
public static final class Builder {
|
||||
|
||||
@Nullable
|
||||
private String route;
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.util.ReflectionUtils;
|
||||
*/
|
||||
public class TestExceptionResolver extends AbstractExceptionHandlerMethodResolver {
|
||||
|
||||
private final static ReflectionUtils.MethodFilter EXCEPTION_HANDLER_METHOD_FILTER =
|
||||
private static final ReflectionUtils.MethodFilter EXCEPTION_HANDLER_METHOD_FILTER =
|
||||
method -> method.getName().matches("handle[\\w]*Exception");
|
||||
|
||||
|
||||
|
||||
@@ -682,7 +682,7 @@ public class MessageBrokerConfigurationTests {
|
||||
|
||||
|
||||
@Configuration
|
||||
static abstract class BaseDotSeparatorConfig extends BaseTestMessageBrokerConfig {
|
||||
abstract static class BaseDotSeparatorConfig extends BaseTestMessageBrokerConfig {
|
||||
|
||||
@Override
|
||||
protected void configureMessageBroker(MessageBrokerRegistry registry) {
|
||||
|
||||
Reference in New Issue
Block a user