beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject [39/50] [abbrv] beam git commit: [BEAM-1991] Sum.SumDoubleFn => Sum.ofDoubles
Date Tue, 25 Apr 2017 17:30:34 GMT
[BEAM-1991] Sum.SumDoubleFn => Sum.ofDoubles

This is left over from commit 78a360eac35507d9a558fc6117bb56b67b8a884e

 - [x] Make sure the PR title is formatted like:
   `[BEAM-<Jira issue #>] Description of pull request`
 - [x] Make sure tests pass via `mvn clean verify`. (Even better, enable
       Travis-CI on your fork and ensure the whole test matrix passes).
 - [x] Replace `<Jira issue #>` in the title with the actual Jira issue
       number, if there is one.
 - [ ] If this contribution is large, please file an Apache
       [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).


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

Branch: refs/heads/jstorm-runner
Commit: 7c858a8aa7aa3ff27e9d38f9ff952285227d199e
Parents: 36e4355
Author: wtanaka.com <wtanaka@yahoo.com>
Authored: Mon Apr 17 16:45:45 2017 -1000
Committer: Dan Halperin <dhalperi@google.com>
Committed: Mon Apr 17 21:02:33 2017 -0700

----------------------------------------------------------------------
 .../core/src/main/java/org/apache/beam/sdk/transforms/Combine.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/7c858a8a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Combine.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Combine.java b/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Combine.java
index 58d65d0..1de6d8c 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Combine.java
+++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Combine.java
@@ -1775,7 +1775,7 @@ public class Combine {
    * PCollection<KV<String, Double>> salesRecords = ...;
    * PCollection<KV<String, Double>> totalSalesPerPerson =
    *     salesRecords.apply(Combine.<String, Double, Double>perKey(
-   *         new Sum.SumDoubleFn()));
+   *         Sum.ofDoubles()));
    * } </pre>
    *
    * <p>Each output element is in the window by which its corresponding input


Mime
View raw message