You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/09/07 14:52:07 UTC

[GitHub] [shardingsphere] terrymanu commented on a change in pull request #7300: #6872, concurrent truncate

terrymanu commented on a change in pull request #7300:
URL: https://github.com/apache/shardingsphere/pull/7300#discussion_r484477073



##########
File path: shardingsphere-integration-test/shardingsphere-test-suite/src/test/java/org/apache/shardingsphere/dbtest/env/dataset/DataSetEnvironmentManager.java
##########
@@ -126,25 +132,18 @@ private void setParameters(final PreparedStatement preparedStatement, final SQLV
     /**
      * Clear data.
      * 
-     * @throws SQLException SQL exception
      */
-    public void clear() throws SQLException {
+    public void clear() {
+        List<Callable<Boolean>> clearNodes = new ArrayList<>();

Review comment:
       Please use LinkedList or use initial size for ArrayList




----------------------------------------------------------------
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:
users@infra.apache.org