Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1581,8 +1581,6 @@ class BeamModulePlugin implements Plugin<Project> {
"StringCaseLocaleUsage",
// DoFn methods are executed reflectively at pipeline runtime
"UnusedMethod",
// Void is a valid element type of DoFn elements
"VoidUsed",
]
disabledChecks.each {
options.errorprone.errorproneArgs.add("-Xep:${it}:OFF")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ public void testEncodeDecode() {

@Test
public void testNullKey() {
Void key = null;
VoidCoder coder = VoidCoder.of();

ByteBuffer byteBuffer = FlinkKeyUtils.encodeKey(key, coder);
ByteBuffer byteBuffer = FlinkKeyUtils.encodeKey(null, coder);
assertThat(FlinkKeyUtils.decodeKey(byteBuffer, coder), is(nullValue()));
}

Expand Down
Loading