You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by dw...@apache.org on 2019/01/31 12:44:48 UTC
[flink] branch master updated: [hotfix] [javadocs] Fix typo in
TaskSlot
This is an automated email from the ASF dual-hosted git repository.
dwysakowicz 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 f0fa9bc [hotfix] [javadocs] Fix typo in TaskSlot
f0fa9bc is described below
commit f0fa9bcd496482f5ecb504e6380e88530911f03b
Author: libenchao <li...@gmail.com>
AuthorDate: Thu Jan 31 20:33:49 2019 +0800
[hotfix] [javadocs] Fix typo in TaskSlot
---
.../java/org/apache/flink/runtime/taskexecutor/slot/TaskSlot.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/slot/TaskSlot.java b/flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/slot/TaskSlot.java
index 411aa94..3db5c69 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/slot/TaskSlot.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/slot/TaskSlot.java
@@ -39,7 +39,7 @@ import java.util.Map;
* <li>Active - The slot is in active use by a job manager which is the leader of the allocating job.</li>
* </ul>
*
- * <p>A task slot can only be allocated if it is in state free. An allocated task slot can transition
+ * <p>A task slot can only be allocated if it is in state free. An allocated task slot can transit
* to state active.
*
* <p>An active slot allows to add tasks from the respective job and with the correct allocation id.
@@ -261,7 +261,7 @@ public class TaskSlot {
}
/**
- * Mark the slot as free. A slot can only marked as free if it's empty.
+ * Mark the slot as free. A slot can only be marked as free if it's empty.
*
* @return True if the new state is free; otherwise false
*/