jingshanglu commented on a change in pull request #14983:
URL: https://github.com/apache/shardingsphere/pull/14983#discussion_r790271643



##########
File path: 
shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/common/statement/tcl/SetTransactionStatement.java
##########
@@ -17,10 +17,25 @@
 
 package org.apache.shardingsphere.sql.parser.sql.common.statement.tcl;
 
+import lombok.Getter;
+import lombok.Setter;
+import lombok.ToString;
+import org.apache.shardingsphere.sql.parser.sql.common.constant.Scope;
+import 
org.apache.shardingsphere.sql.parser.sql.common.constant.TransactionAccessType;
+import 
org.apache.shardingsphere.sql.parser.sql.common.constant.TransactionIsolationLevel;
 import 
org.apache.shardingsphere.sql.parser.sql.common.statement.AbstractSQLStatement;
 
 /**
  * Set transaction statement.
  */
+@Getter
+@Setter

Review comment:
       > Is it possible to use final and @RequiredArgsConstructor to instead of 
getter and setter?
   
   I think we can use `setter`, `getter`, because those properties are not 
required, maybe only part of them.




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to