You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2019/05/23 10:04:32 UTC

[flink] branch master updated: [hotfix][docs] Correct documentation of ExEnv#fromElements

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

chesnay 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 9fde18c  [hotfix][docs] Correct documentation of ExEnv#fromElements
9fde18c is described below

commit 9fde18cc4c5bbaac8f992121fb709e9cbb97b6b8
Author: Robert Stoll <ro...@tegonal.com>
AuthorDate: Thu May 23 12:04:21 2019 +0200

    [hotfix][docs] Correct documentation of ExEnv#fromElements
---
 docs/dev/batch/index.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/dev/batch/index.md b/docs/dev/batch/index.md
index 7d18bac..cb65f0b 100644
--- a/docs/dev/batch/index.md
+++ b/docs/dev/batch/index.md
@@ -829,7 +829,7 @@ File-based:
 
 Collection-based:
 
-- `fromCollection(Collection)` - Creates a data set from the Java Java.util.Collection. All elements
+- `fromCollection(Collection)` - Creates a data set from a Java.util.Collection. All elements
   in the collection must be of the same type.
 
 - `fromCollection(Iterator, Class)` - Creates a data set from an iterator. The class specifies the
@@ -970,8 +970,8 @@ File-based:
 
 Collection-based:
 
-- `fromCollection(Seq)` - Creates a data set from a Seq. All elements
-  in the collection must be of the same type.
+- `fromCollection(Iterable)` - Creates a data set from an Iterable. All elements
+  returned by the Iterable must be of the same type.
 
 - `fromCollection(Iterator)` - Creates a data set from an Iterator. The class specifies the
   data type of the elements returned by the iterator.