TeslaCN commented on code in PR #19368:
URL: https://github.com/apache/shardingsphere/pull/19368#discussion_r926158029


##########
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/EncryptForUseDefaultInsertColumnsTokenGenerator.java:
##########
@@ -62,6 +62,9 @@ public UseDefaultInsertColumnsToken generateSQLToken(final 
InsertStatementContex
     }
     
     private Optional<UseDefaultInsertColumnsToken> findInsertColumnsToken() {
+        if (null == previousSQLTokens) {

Review Comment:
   `previousSQLTokens` is a Collection which should not be null in 
ShardingSphere.



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