tristaZero commented on a change in pull request #8546:
URL: https://github.com/apache/shardingsphere/pull/8546#discussion_r539230378
##########
File path:
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/java/org/apache/shardingsphere/sql/parser/mysql/visitor/format/impl/MySQLFormatSQLVisitor.java
##########
@@ -52,22 +52,27 @@
import
org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser.StandaloneAlterTableActionContext;
import
org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser.StringListContext;
import
org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser.StringLiteralsContext;
+import
org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser.String_Context;
import
org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser.TableElementListContext;
import
org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser.TableNameContext;
import
org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser.TableValueConstructorContext;
+import
org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser.TemporalLiteralsContext;
import
org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser.TypeDatetimePrecisionContext;
import
org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser.WhereClauseContext;
import
org.apache.shardingsphere.sql.parser.autogen.MySQLStatementParser.WithClauseContext;
/**
* MySQL Format SQL visitor for MySQL.
*/
-@Getter(AccessLevel.PROTECTED)
+@Getter
+@Setter
public abstract class MySQLFormatSQLVisitor extends
MySQLStatementBaseVisitor<String> {
private StringBuilder result = new StringBuilder();
- private final boolean uperCase = true;
+ private boolean uperCase = true;
Review comment:
Why do you remove `final` here?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]