flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tzuli...@apache.org
Subject [2/5] flink git commit: [hotfix] [doc] Fix incorrect javaStream access on Scala DataStream API in docs
Date Tue, 26 Sep 2017 16:11:52 GMT
[hotfix] [doc] Fix incorrect javaStream access on Scala DataStream API in docs

This closes #4704.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/2439834b
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/2439834b
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/2439834b

Branch: refs/heads/release-1.3
Commit: 2439834b07d355f069da3ecb848ac06e5c48541b
Parents: fcbdb7a
Author: Bang, Phiradet <phiradet.bang@rakuten.com>
Authored: Fri Sep 22 15:35:37 2017 +0900
Committer: Tzu-Li (Gordon) Tai <tzulitai@apache.org>
Committed: Tue Sep 26 18:09:28 2017 +0200

----------------------------------------------------------------------
 docs/dev/datastream_api.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/2439834b/docs/dev/datastream_api.md
----------------------------------------------------------------------
diff --git a/docs/dev/datastream_api.md b/docs/dev/datastream_api.md
index 7191d82..0594437 100644
--- a/docs/dev/datastream_api.md
+++ b/docs/dev/datastream_api.md
@@ -1753,7 +1753,7 @@ import org.apache.flink.contrib.streaming.DataStreamUtils
 import scala.collection.JavaConverters.asScalaIteratorConverter
 
 val myResult: DataStream[(String, Int)] = ...
-val myOutput: Iterator[(String, Int)] = DataStreamUtils.collect(myResult.getJavaStream).asScala
+val myOutput: Iterator[(String, Int)] = DataStreamUtils.collect(myResult.javaStream).asScala
 {% endhighlight %}
 </div>
 </div>


Mime
View raw message