Suppress warnings in Gradle build

See gh-24655
This commit is contained in:
Sam Brannen 2020-06-16 17:43:40 +02:00
parent 50391ad3d7
commit 456d2c46e3
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,7 @@ class KeyHolderTests {
@Test
void getKeyWithMultipleKeysInMap() {
@SuppressWarnings("serial")
Map<String, Object> m = new HashMap<String, Object>() {{
put("key", 1);
put("seq", 2);
@ -108,6 +109,7 @@ class KeyHolderTests {
@Test
void getKeysWithMultipleKeyRows() {
@SuppressWarnings("serial")
Map<String, Object> m = new HashMap<String, Object>() {{
put("key", 1);
put("seq", 2);