This is an automated email from the ASF dual-hosted git repository. sunlan pushed a commit to branch GROOVY_4_0_X in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 6da63c31f089a1abdee9481cc8ef350a5d4a53b4 Author: Daniel Sun <sun...@apache.org> AuthorDate: Sat Nov 18 18:37:13 2023 +0800 Declare 'AbstractStatementCommand' as 'static' (cherry picked from commit 4480d87aa9a5dae155714e626279c654806a75cc) --- subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java b/subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java index e8645266b3..3ff10ec672 100644 --- a/subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java +++ b/subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java @@ -4648,7 +4648,7 @@ public class Sql implements AutoCloseable { // command pattern implementation classes //------------------------------------------------------------------------- - private abstract class AbstractStatementCommand { + private abstract static class AbstractStatementCommand { /** * Execute the command that's defined by the subclass following * the Command pattern. Specialized parameters are held in the command instances.