You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2019/01/31 13:33:12 UTC

[flink] branch master updated: [hotfix] [javadocs] Correct outdated doc for TaskSlotTable.start()

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1e5b243  [hotfix] [javadocs] Correct outdated doc for TaskSlotTable.start()
1e5b243 is described below

commit 1e5b24330a9c4397d84be18a4a64296a3a84359d
Author: libenchao <li...@gmail.com>
AuthorDate: Thu Jan 31 20:41:37 2019 +0800

    [hotfix] [javadocs] Correct outdated doc for TaskSlotTable.start()
---
 .../org/apache/flink/runtime/taskexecutor/slot/TaskSlotTable.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/slot/TaskSlotTable.java b/flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/slot/TaskSlotTable.java
index 867203c..26f3a13 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/slot/TaskSlotTable.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/slot/TaskSlotTable.java
@@ -112,7 +112,7 @@ public class TaskSlotTable implements TimeoutListener<AllocationID> {
 	}
 
 	/**
-	 * Start the task slot table with the given slot actions and slot timeout value.
+	 * Start the task slot table with the given slot actions.
 	 *
 	 * @param initialSlotActions to use for slot actions
 	 */
@@ -182,7 +182,7 @@ public class TaskSlotTable implements TimeoutListener<AllocationID> {
 
 	/**
 	 * Allocate the slot with the given index for the given job and allocation id. Returns true if
-	 * the slot could be allocated. Otherwise it returns false;
+	 * the slot could be allocated. Otherwise it returns false.
 	 *
 	 * @param index of the task slot to allocate
 	 * @param jobId to allocate the task slot for