Senrian opened a new pull request, #8006:
URL: https://github.com/apache/incubator-seata/pull/8006

   ## Description
   Replace explicit null check followed by isEmpty() with 
CollectionUtils.isEmpty() for cleaner code and better null-safety.
   
   ## Changes
   - BaseInsertExecutor.java: Replace `insertRows != null && 
!insertRows.isEmpty()` with `CollectionUtils.isEmpty(insertRows)`
   
   This simplifies the code and ensures consistent null-safety handling across 
the codebase.
   
   ## Related Issue
   This helps address the composite primary key issue reported in #8005 where 
duplicate field information in afterImage can cause rollback failures.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to