You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by wu...@apache.org on 2021/04/11 07:41:15 UTC

[shardingsphere] branch master updated: optimization for execution group (#10036)

This is an automated email from the ASF dual-hosted git repository.

wuweijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new abd2760  optimization for execution group (#10036)
abd2760 is described below

commit abd276083ccbf9611ac65a40ed7935adda6b72bf
Author: Juan Pan(Trista) <pa...@apache.org>
AuthorDate: Sun Apr 11 15:40:40 2021 +0800

    optimization for execution group (#10036)
---
 .../infra/executor/kernel/model/ExecutionGroupContext.java       | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/kernel/model/ExecutionGroupContext.java b/shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/kernel/model/ExecutionGroupContext.java
index f938136b..9347efc 100644
--- a/shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/kernel/model/ExecutionGroupContext.java
+++ b/shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/kernel/model/ExecutionGroupContext.java
@@ -34,12 +34,5 @@ public final class ExecutionGroupContext<T> {
     
     private final Collection<ExecutionGroup<T>> inputGroups;
     
-    /**
-     * Get execution ID.
-     *
-     * @return execution ID
-     */
-    public String getExecutionID() {
-        return UUID.randomUUID().toString();
-    }
+    private final String executionID = UUID.randomUUID().toString();
 }