pabloem commented on a change in pull request #11339:
URL: https://github.com/apache/beam/pull/11339#discussion_r424706864



##########
File path: 
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/healthcare/HL7v2MessageCoder.java
##########
@@ -29,7 +29,15 @@
 import org.apache.beam.sdk.coders.StringUtf8Coder;
 
 public class HL7v2MessageCoder extends CustomCoder<HL7v2Message> {
-  public HL7v2MessageCoder() {}
+  HL7v2MessageCoder() {}
+
+  public static HL7v2MessageCoder of() {
+    return new HL7v2MessageCoder();
+  }
+
+  public static HL7v2MessageCoder of(Class<HL7v2Message> clazz) {

Review comment:
       Ah you're right  : ) - cool.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to