flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmetz...@apache.org
Subject flink git commit: [docs][typo] Replace reduceGroup() with reduce() in the GroupReduceFunction interface
Date Wed, 22 Apr 2015 13:12:09 GMT
Repository: flink
Updated Branches:
  refs/heads/master 8fc847e5b -> acd9235c2


[docs][typo] Replace reduceGroup() with reduce() in the GroupReduceFunction interface


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

Branch: refs/heads/master
Commit: acd9235c27b15e8467202ad1235894dbbe1e9c8f
Parents: 8fc847e
Author: Robert Metzger <rmetzger@apache.org>
Authored: Wed Apr 22 15:11:34 2015 +0200
Committer: Robert Metzger <rmetzger@apache.org>
Committed: Wed Apr 22 15:11:42 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/flink/blob/acd9235c/docs/programming_guide.md
----------------------------------------------------------------------
diff --git a/docs/programming_guide.md b/docs/programming_guide.md
index d9b1753..4d298ac 100644
--- a/docs/programming_guide.md
+++ b/docs/programming_guide.md
@@ -544,7 +544,7 @@ data.reduce(new ReduceFunction<Integer> {
         full data set, or on a grouped data set.</p>
 {% highlight java %}
 data.reduceGroup(new GroupReduceFunction<Integer, Integer> {
-  public void reduceGroup(Iterable<Integer> values, Collector<Integer> out) {
+  public void reduce(Iterable<Integer> values, Collector<Integer> out) {
     int prefixSum = 0;
     for (Integer i : values) {
       prefixSum += i;


Mime
View raw message