Skip to content

Commit 2a5ad15

Browse files
author
Tim Aebi
committed
Make ProtoDeserializer and ProtoSerializer public
fixes #706
1 parent 0d96691 commit 2a5ad15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

formats/protobuf/src/main/java/io/cloudevents/protobuf/ProtoDeserializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
/**
3535
* Implements a {@link CloudEventReader} that can deserialize a {@link CloudEvent} protobuf representation;
3636
*/
37-
class ProtoDeserializer implements CloudEventReader {
37+
public class ProtoDeserializer implements CloudEventReader {
3838
private final CloudEvent protoCe;
3939

4040
public ProtoDeserializer(CloudEvent protoCe) {

formats/protobuf/src/main/java/io/cloudevents/protobuf/ProtoSerializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
/**
4646
* Provides functionality for turning a {@link io.cloudevents.CloudEvent} to the protobuf representation {@link CloudEvent}.
4747
*/
48-
class ProtoSerializer {
48+
public class ProtoSerializer {
4949

5050
/**
5151
* Convert the Java SDK CloudEvent into a protobuf representation.

0 commit comments

Comments
 (0)