Skip to content

Commit 22455ae

Browse files
committed
Fix pubsub-related codacy issues
1 parent 55df976 commit 22455ae

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

gcloud-java-pubsub/src/main/java/com/google/cloud/pubsub/Message.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ protected InternalByteArray(ByteArray byteArray) {
5454
super(byteArray);
5555
}
5656

57+
@Override
5758
protected ByteString byteString() {
5859
return super.byteString();
5960
}

gcloud-java-pubsub/src/main/java/com/google/cloud/pubsub/PubSub.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ interface MessageConsumer extends AutoCloseable {
110110

111111
final class PullOption implements Serializable {
112112

113+
private static final long serialVersionUID = 4792164134340316582L;
114+
113115
private final Option option;
114116
private final Object value;
115117

0 commit comments

Comments
 (0)