You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by jk...@apache.org on 2017/05/15 19:29:24 UTC

[1/2] beam git commit: readAvros should't have proto Message upper bound

Repository: beam
Updated Branches:
  refs/heads/master 6e8d8d657 -> 88ec00860


readAvros should't have proto Message upper bound

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

Branch: refs/heads/master
Commit: de1adefda958ae152eae4b7b94b3b78563e130aa
Parents: 6e8d8d6
Author: Neville Li <ne...@gmail.com>
Authored: Mon May 15 14:55:09 2017 -0400
Committer: GitHub <no...@github.com>
Committed: Mon May 15 14:55:09 2017 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubIO.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/de1adefd/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubIO.java
----------------------------------------------------------------------
diff --git a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubIO.java b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubIO.java
index bdc2752e..e293b95 100644
--- a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubIO.java
+++ b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubIO.java
@@ -487,7 +487,7 @@ public class PubsubIO {
    * Returns A {@link PTransform} that continuously reads binary encoded Avro messages of the
    * given type from a Google Cloud Pub/Sub stream.
    */
-  public static <T extends Message> Read<T> readAvros(Class<T> clazz) {
+  public static <T> Read<T> readAvros(Class<T> clazz) {
     // TODO: Stop using AvroCoder and instead parse the payload directly.
     // We should not be relying on the fact that AvroCoder's wire format is identical to
     // the Avro wire format, as the wire format is not part of a coder's API.


[2/2] beam git commit: This closes #3149

Posted by jk...@apache.org.
This closes #3149


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

Branch: refs/heads/master
Commit: 88ec00860032078dcd33e07d94642912f6aa7bf7
Parents: 6e8d8d6 de1adef
Author: Eugene Kirpichov <ki...@google.com>
Authored: Mon May 15 12:22:27 2017 -0700
Committer: Eugene Kirpichov <ki...@google.com>
Committed: Mon May 15 12:22:27 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubIO.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------