Polish modifier declaration ordering

Follow that Java language specification.
This commit is contained in:
Phillip Webb
2018-05-02 15:07:35 -07:00
parent 64930d4e5b
commit 4e96587dc8
26 changed files with 31 additions and 31 deletions

View File

@@ -72,7 +72,7 @@ public class ConfigurationWarningsApplicationContextInitializer
/**
* {@link BeanDefinitionRegistryPostProcessor} to report warnings.
*/
protected final static class ConfigurationWarningsPostProcessor
protected static final class ConfigurationWarningsPostProcessor
implements PriorityOrdered, BeanDefinitionRegistryPostProcessor {
private Check[] checks;

View File

@@ -354,7 +354,7 @@ public class UndertowEmbeddedServletContainer implements EmbeddedServletContaine
/**
* An active Undertow port.
*/
private final static class Port {
private static final class Port {
private final int number;

View File

@@ -642,7 +642,7 @@ public class RestTemplateBuilder {
/**
* {@link RequestFactoryCustomizer} to call a "set timeout" method.
*/
private static abstract class TimeoutRequestFactoryCustomizer
private abstract static class TimeoutRequestFactoryCustomizer
implements RequestFactoryCustomizer {
private final int timeout;

View File

@@ -131,7 +131,7 @@ public class SpringProfileDocumentMatcher implements DocumentMatcher {
/**
* Base class for profile matchers.
*/
private static abstract class ProfilesMatcher {
private abstract static class ProfilesMatcher {
public final MatchStatus matches(Set<String> profiles) {
if (CollectionUtils.isEmpty(profiles)) {

View File

@@ -109,7 +109,7 @@ public class JsonComponentModuleTests {
@JsonComponent
static class ComponentWithInnerAbstractClass {
private static abstract class AbstractSerializer
private abstract static class AbstractSerializer
extends NameAndAgeJsonComponent.Serializer {
}