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 2016/06/28 14:50:22 UTC

flink git commit: [gelly-doc] Correct Scala code example

Repository: flink
Updated Branches:
  refs/heads/master 2028ba5ae -> 10898a90f


[gelly-doc] Correct Scala code example


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

Branch: refs/heads/master
Commit: 10898a90f7a69f77450794f8a2c1de17b8f5aee0
Parents: 2028ba5
Author: Till Rohrmann <tr...@apache.org>
Authored: Tue Jun 28 16:48:35 2016 +0200
Committer: Till Rohrmann <tr...@apache.org>
Committed: Tue Jun 28 16:50:12 2016 +0200

----------------------------------------------------------------------
 docs/apis/batch/libs/gelly.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/10898a90/docs/apis/batch/libs/gelly.md
----------------------------------------------------------------------
diff --git a/docs/apis/batch/libs/gelly.md b/docs/apis/batch/libs/gelly.md
index 1b925e0..b4b78cc 100644
--- a/docs/apis/batch/libs/gelly.md
+++ b/docs/apis/batch/libs/gelly.md
@@ -1859,10 +1859,10 @@ verticesWithCommunity.print();
 {% highlight scala %}
 val env = ExecutionEnvironment.getExecutionEnvironment
 
-val graph: Graph[Long, Long, NullValue] = ...
+val graph: Graph[java.lang.Long, java.lang.Long, NullValue] = ...
 
 // run Label Propagation for 30 iterations to detect communities on the input graph
-val verticesWithCommunity = graph.run(new LabelPropagation[Long](30))
+val verticesWithCommunity = graph.run(new LabelPropagation[java.lang.Long, java.lang.Long, NullValue](30))
 
 // print the result
 verticesWithCommunity.print