diff --git a/parser/sql/dialect/oracle/src/main/java/org/apache/shardingsphere/sql/parser/oracle/visitor/statement/type/OracleDDLStatementVisitor.java b/parser/sql/dialect/oracle/src/main/java/org/apache/shardingsphere/sql/parser/oracle/visitor/statement/type/OracleDDLStatementVisitor.java index c70ea557f5cf3..fb6b1293f158a 100644 --- a/parser/sql/dialect/oracle/src/main/java/org/apache/shardingsphere/sql/parser/oracle/visitor/statement/type/OracleDDLStatementVisitor.java +++ b/parser/sql/dialect/oracle/src/main/java/org/apache/shardingsphere/sql/parser/oracle/visitor/statement/type/OracleDDLStatementVisitor.java @@ -1344,10 +1344,10 @@ public ASTNode visitAlterType(final AlterTypeContext ctx) { public ASTNode visitCreateJava(final CreateJavaContext ctx) { return new OracleCreateJavaStatement(); } - + @Override public ASTNode visitSwitch(final SwitchContext ctx) { return new OracleSwitchStatement(); } - + } diff --git a/parser/sql/engine/src/main/java/org/apache/shardingsphere/sql/parser/core/database/visitor/SQLVisitorRule.java b/parser/sql/engine/src/main/java/org/apache/shardingsphere/sql/parser/core/database/visitor/SQLVisitorRule.java index 44974836fc10e..473da5b6d3cf5 100644 --- a/parser/sql/engine/src/main/java/org/apache/shardingsphere/sql/parser/core/database/visitor/SQLVisitorRule.java +++ b/parser/sql/engine/src/main/java/org/apache/shardingsphere/sql/parser/core/database/visitor/SQLVisitorRule.java @@ -700,7 +700,7 @@ public enum SQLVisitorRule { PLSQL_BLOCK("PlsqlBlock", SQLStatementType.DDL), SWITCH("Switch", SQLStatementType.DDL); - + private final String name; @Getter diff --git a/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/RootSQLParserTestCases.java b/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/RootSQLParserTestCases.java index ced25fa093d26..67974bdb86a92 100644 --- a/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/RootSQLParserTestCases.java +++ b/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/RootSQLParserTestCases.java @@ -1719,7 +1719,7 @@ public final class RootSQLParserTestCases { @XmlElement(name = "switch") private final List switchStatementTestCases = new LinkedList<>(); - + /** * Get all SQL parser test cases. *