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

@@ -88,7 +88,7 @@ public class DefaultLifecycleProcessor implements LifecycleProcessor, BeanFactor
public static final String CHECKPOINT_ON_REFRESH_VALUE = "onRefresh";
private final static boolean checkpointOnRefresh =
private static final boolean checkpointOnRefresh =
CHECKPOINT_ON_REFRESH_VALUE.equalsIgnoreCase(SpringProperties.getProperty(CHECKPOINT_PROPERTY_NAME));
private final Log logger = LogFactory.getLog(getClass());

View File

@@ -519,7 +519,7 @@ public class MethodValidationAdapter implements MethodValidator {
* also falling back on container indexes if necessary for cascaded
* constraints on a List container.
*/
private final static class ResultComparator implements Comparator<ParameterValidationResult> {
private static final class ResultComparator implements Comparator<ParameterValidationResult> {
@Override
public int compare(ParameterValidationResult result1, ParameterValidationResult result2) {

View File

@@ -234,7 +234,7 @@ public class MethodValidationInterceptor implements MethodInterceptor {
/**
* Helper class to decorate reactive arguments with async validation.
*/
private final static class ReactorValidationHelper {
private static final class ReactorValidationHelper {
private static final ReactiveAdapterRegistry reactiveAdapterRegistry =
ReactiveAdapterRegistry.getSharedInstance();