beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject [1/2] beam git commit: Fixup typo in WindowingStrategies
Date Wed, 08 Mar 2017 22:13:39 GMT
Repository: beam
Updated Branches:
  refs/heads/master 59909c6a7 -> f14b27409


Fixup typo in WindowingStrategies


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

Branch: refs/heads/master
Commit: 61c23ff41559d37fdb4af530acf0481a1f2f24e4
Parents: 29d9bd3
Author: Kenneth Knowles <klk@google.com>
Authored: Wed Mar 8 13:46:35 2017 -0800
Committer: Kenneth Knowles <klk@google.com>
Committed: Wed Mar 8 13:46:35 2017 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/beam/sdk/util/WindowingStrategies.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/61c23ff4/sdks/java/core/src/main/java/org/apache/beam/sdk/util/WindowingStrategies.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/util/WindowingStrategies.java
b/sdks/java/core/src/main/java/org/apache/beam/sdk/util/WindowingStrategies.java
index 7bc581c..40f2a66 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/util/WindowingStrategies.java
+++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/util/WindowingStrategies.java
@@ -120,8 +120,7 @@ public class WindowingStrategies implements Serializable {
 
   public static RunnerApi.OutputTime toProto(OutputTimeFn<?> outputTimeFn) {
     if (outputTimeFn instanceof WindowingStrategy.CombineWindowFnOutputTimes) {
-      return OutputTimeFns.toProto(
-          ((CombineWindowFnOutputTimes<?>) outputTimeFn).getOutputTimeFn());
+      return toProto(((CombineWindowFnOutputTimes<?>) outputTimeFn).getOutputTimeFn());
     } else {
       return OutputTimeFns.toProto(outputTimeFn);
     }


Mime
View raw message