Skip to content

Commit 4e26dcc

Browse files
committed
test(bigtable): suppress NullArgumentForNonNullParameter warnings
Suppress NullArgumentForNonNullParameter in EnhancedBigtableStubTest for calls to assertThat(f.get()).isNull() where f.get() returns Void. BUG=b/481669998 TAG=agy CONV=7b193e4d-38f8-450c-8475-0b9ae0d04507
1 parent 7f33b68 commit 4e26dcc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

java-bigtable/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/EnhancedBigtableStubTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ public void testRMWRequestResponseConversion() throws ExecutionException, Interr
371371
}
372372

373373
@Test
374+
@SuppressWarnings("NullArgumentForNonNullParameter")
374375
public void testMutateRowRequestResponseConversion()
375376
throws ExecutionException, InterruptedException {
376377
RowMutation req = RowMutation.create(TableId.of("my-table"), "my-key").deleteRow();
@@ -389,6 +390,7 @@ public void testMutateRowRequestResponseConversion()
389390
}
390391

391392
@Test
393+
@SuppressWarnings("NullArgumentForNonNullParameter")
392394
public void testMutateRowRequestParams() throws ExecutionException, InterruptedException {
393395
RowMutation req = RowMutation.create(TABLE_ID, "my-key").deleteRow();
394396

0 commit comments

Comments
 (0)