beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ieme...@apache.org
Subject [beam] branch master updated: Fix Joda error raised by error-prone
Date Wed, 06 Mar 2019 14:42:46 GMT
This is an automated email from the ASF dual-hosted git repository.

iemejia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 9cfb5ea  Fix Joda error raised by error-prone
     new b4a8c5d  Merge pull request #7998: Fix Joda error raised by error-prone in examples-java
9cfb5ea is described below

commit 9cfb5ead384f6f2f9f820a8d9ffea3b5debd966b
Author: Etienne Chauchot <echauchot@apache.org>
AuthorDate: Wed Mar 6 14:51:49 2019 +0100

    Fix Joda error raised by error-prone
---
 .../java/src/main/java/org/apache/beam/examples/WindowedWordCount.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/java/src/main/java/org/apache/beam/examples/WindowedWordCount.java b/examples/java/src/main/java/org/apache/beam/examples/WindowedWordCount.java
index 100869a..769b566 100644
--- a/examples/java/src/main/java/org/apache/beam/examples/WindowedWordCount.java
+++ b/examples/java/src/main/java/org/apache/beam/examples/WindowedWordCount.java
@@ -117,7 +117,7 @@ public class WindowedWordCount {
       /*
        * Concept #2: Set the data element with that timestamp.
        */
-      receiver.outputWithTimestamp(element, new Instant(randomTimestamp));
+      receiver.outputWithTimestamp(element, randomTimestamp);
     }
   }
 


Mime
View raw message