Skip to content

Commit 5584dc0

Browse files
committed
supress equalsGetClass in ProtoCoder and DynamicProtoCoder
1 parent bedcb66 commit 5584dc0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/DynamicProtoCoder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ public DynamicProtoCoder withExtensionsFrom(Iterable<Class<?>> moreExtensionHost
103103
.build());
104104
}
105105

106+
@SuppressWarnings("EqualsGetClass")
106107
@Override
107108
public boolean equals(@Nullable Object other) {
108109
if (this == other) {

sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/ProtoCoder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ public T decode(InputStream inStream, Context context) throws IOException {
208208
}
209209
}
210210

211+
@SuppressWarnings("EqualsGetClass")
211212
@Override
212213
public boolean equals(@Nullable Object other) {
213214
if (this == other) {

0 commit comments

Comments
 (0)