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

jiangtian pushed a commit to branch jira_1376_0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit c5691ccd28adffcea566900429e54d5498baa568
Author: jt2594838 <[email protected]>
AuthorDate: Thu May 13 09:29:51 2021 +0800

    fix code smell
---
 .../java/org/apache/iotdb/db/qp/physical/BatchPlan.java    | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git 
a/server/src/main/java/org/apache/iotdb/db/qp/physical/BatchPlan.java 
b/server/src/main/java/org/apache/iotdb/db/qp/physical/BatchPlan.java
index 4319c82..4da45b8 100644
--- a/server/src/main/java/org/apache/iotdb/db/qp/physical/BatchPlan.java
+++ b/server/src/main/java/org/apache/iotdb/db/qp/physical/BatchPlan.java
@@ -25,23 +25,29 @@ public interface BatchPlan {
   /**
    * Mark the sub-plan at position i as executed.
    *
-   * @param i
+   * @param i the position of the sub-plan
    */
   void setIsExecuted(int i);
 
   /**
    * Mark the sub-plan at position i as not executed.
    *
-   * @param i
+   * @param i the position of the sub-plan
    */
   void unsetIsExecuted(int i);
 
   /**
+   * Whether the sub-plan at position i has been executed.
+   *
+   * @param i the position of the sub-plan
    * @return whether the sub-plan at position i has been executed.
-   * @param i
    */
   boolean isExecuted(int i);
 
-  /** @return how many sub-plans are in the plan. */
+  /**
+   * Return how many sub-plans are in the plan
+   *
+   * @return how many sub-plans are in the plan.
+   */
   int getBatchSize();
 }

Reply via email to