Repository: flink Updated Branches: refs/heads/master 9be1de34c -> c06213706
[docs] Fix Javadocs of RuntimeContext parallel subtask index Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/c0621370 Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/c0621370 Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/c0621370 Branch: refs/heads/master Commit: c06213706e42df59bbc41a25b8e6dd5ac3e03381 Parents: 9be1de3 Author: Ufuk Celebi <[email protected]> Authored: Thu Jul 16 16:46:17 2015 +0200 Committer: Ufuk Celebi <[email protected]> Committed: Thu Jul 16 16:46:52 2015 +0200 ---------------------------------------------------------------------- .../org/apache/flink/api/common/functions/RuntimeContext.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/c0621370/flink-core/src/main/java/org/apache/flink/api/common/functions/RuntimeContext.java ---------------------------------------------------------------------- diff --git a/flink-core/src/main/java/org/apache/flink/api/common/functions/RuntimeContext.java b/flink-core/src/main/java/org/apache/flink/api/common/functions/RuntimeContext.java index fb9d842..3af2c9d 100644 --- a/flink-core/src/main/java/org/apache/flink/api/common/functions/RuntimeContext.java +++ b/flink-core/src/main/java/org/apache/flink/api/common/functions/RuntimeContext.java @@ -58,10 +58,10 @@ public interface RuntimeContext { int getNumberOfParallelSubtasks(); /** - * Gets the number of the parallel subtask. The numbering starts from 1 and goes up to the parallelism, - * as returned by {@link #getNumberOfParallelSubtasks()}. + * Gets the number of this parallel subtask. The numbering starts from 0 and goes up to + * parallelism-1 (parallelism as returned by {@link #getNumberOfParallelSubtasks()}). * - * @return The number of the parallel subtask. + * @return The index of the parallel subtask. */ int getIndexOfThisSubtask();
