Order modifiers to align with JLS

This commit also applies Checkstyle ModifierOrder to enforce it.

See gh-31368
This commit is contained in:
Johnny Lim
2023-10-05 21:52:29 +09:00
committed by Stéphane Nicoll
parent f60791a8e2
commit 919faa2ce2
108 changed files with 175 additions and 172 deletions

View File

@@ -582,7 +582,7 @@ class BeanWrapperGenericsTests {
}
private static abstract class BaseGenericCollectionBean {
private abstract static class BaseGenericCollectionBean {
public abstract Object getMapOfInteger();

View File

@@ -3030,7 +3030,7 @@ class DefaultListableBeanFactoryTests {
}
public static abstract class BaseClassWithDestroyMethod {
public abstract static class BaseClassWithDestroyMethod {
public abstract BaseClassWithDestroyMethod close();
}
@@ -3089,7 +3089,7 @@ class DefaultListableBeanFactoryTests {
}
public static abstract class RepositoryFactoryBeanSupport<T extends Repository<S, ID>, S, ID extends Serializable>
public abstract static class RepositoryFactoryBeanSupport<T extends Repository<S, ID>, S, ID extends Serializable>
implements RepositoryFactoryInformation<S, ID>, FactoryBean<T> {
}

View File

@@ -4161,7 +4161,7 @@ public class AutowiredAnnotationBeanPostProcessorTests {
}
public static abstract class Foo<T extends Runnable, RT extends Callable<T>> {
public abstract static class Foo<T extends Runnable, RT extends Callable<T>> {
private RT obj;

View File

@@ -156,7 +156,7 @@ public class LookupAnnotationTests {
}
public static abstract class AbstractBean {
public abstract static class AbstractBean {
@Lookup("testBean")
public abstract TestBean get();
@@ -194,7 +194,7 @@ public class LookupAnnotationTests {
}
public static abstract class NumberBean {
public abstract static class NumberBean {
@Lookup
public abstract NumberStore<Double> getDoubleStore();

View File

@@ -113,7 +113,7 @@ public class LookupMethodTests {
}
public static abstract class AbstractBean {
public abstract static class AbstractBean {
public abstract TestBean get();
@@ -139,7 +139,7 @@ public class LookupMethodTests {
}
public static abstract class NumberBean {
public abstract static class NumberBean {
public abstract NumberStore<Double> getDoubleStore();