Suppress CheckReturnValue error in PersistentHashArrayMappedTrieTest (#9038)

This commit is contained in:
Kurt Alfred Kluever 2022-03-31 22:50:11 -04:00 committed by GitHub
parent f04a49a7bd
commit 71d38f5cae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,7 @@ public class PersistentHashArrayMappedTrieTest {
assertEquals(2, ret.size());
}
@SuppressWarnings("CheckReturnValue")
@Test
public void collisionLeaf_assertKeysDifferent() {
Key key1 = new Key(0);
@ -94,6 +95,7 @@ public class PersistentHashArrayMappedTrieTest {
}
}
@SuppressWarnings("CheckReturnValue")
@Test
public void collisionLeaf_assertHashesSame() {
try {