Fix misordered modifiers 'final static'.
Per the Java Language Specification (Java 17; https://docs.oracle.com/javase/specs/jls/se17/html/jls-8.html#jls-8.3.1), 'static' should appear before 'final'. This is also consistent with source code analysis tools, like Checkstyle, rules: https://checkstyle.sourceforge.io/apidocs/com/puppycrawl/tools/checkstyle/checks/modifier/ModifierOrderCheck.html. Fixes #2881.
This commit is contained in:
committed by
Oliver Drotbohm
parent
2bfa58d329
commit
91093780dc
@@ -29,7 +29,7 @@ import org.springframework.util.ClassUtils;
|
||||
*/
|
||||
public class QTypeContributor {
|
||||
|
||||
private final static Log logger = LogFactory.getLog(QTypeContributor.class);
|
||||
private static final Log logger = LogFactory.getLog(QTypeContributor.class);
|
||||
|
||||
public static void contributeEntityPath(Class<?> type, GenerationContext context, @Nullable ClassLoader classLoader) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user