From 20ae8d1ee050d726ecff580b66b1122fd5b2f2d3 Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Sat, 10 Oct 2020 21:51:42 +0100 Subject: [PATCH] HHH-10715 More static and final keywords missing --- .../java/org/hibernate/tool/schema/ast/SqlScriptParser.java | 2 +- .../testing/junit4/BaseNonConfigCoreFunctionalTestCase.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/tool/schema/ast/SqlScriptParser.java b/hibernate-core/src/main/java/org/hibernate/tool/schema/ast/SqlScriptParser.java index 7089b7257e..3655fdb3cb 100644 --- a/hibernate-core/src/main/java/org/hibernate/tool/schema/ast/SqlScriptParser.java +++ b/hibernate-core/src/main/java/org/hibernate/tool/schema/ast/SqlScriptParser.java @@ -150,7 +150,7 @@ public class SqlScriptParser extends GeneratedSqlScriptParser { // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // trace logging hooks - private final int depthIndent = 2; + private static final int depthIndent = 2; private int traceDepth; @Override diff --git a/hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseNonConfigCoreFunctionalTestCase.java b/hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseNonConfigCoreFunctionalTestCase.java index 961c008846..7473d8b60f 100644 --- a/hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseNonConfigCoreFunctionalTestCase.java +++ b/hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseNonConfigCoreFunctionalTestCase.java @@ -510,7 +510,7 @@ public class BaseNonConfigCoreFunctionalTestCase extends BaseUnitTestCase { session = null; } - public class RollbackWork implements Work { + public static class RollbackWork implements Work { @Override public void execute(Connection connection) throws SQLException {