Skip to content

Commit

Permalink
Fix usage of raw Java type
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Aug 3, 2021
1 parent 216d81e commit 0f8d702
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,11 @@ public void testSelectSystemTable()
.containsExactly(DATA, HISTORY, SNAPSHOTS, MANIFESTS, PARTITIONS, FILES);
}

private void assertMetastoreInvocations(String query, Multiset expectedInvocations)
private void assertMetastoreInvocations(String query, Multiset<?> expectedInvocations)
{
metastore.resetCounters();
getQueryRunner().execute(query);
assertThat(metastore.getMethodInvocations()).containsExactlyInAnyOrderElementsOf(expectedInvocations);
assertThat(ImmutableMultiset.<Object>copyOf(metastore.getMethodInvocations()))
.containsExactlyInAnyOrderElementsOf(expectedInvocations);
}
}

0 comments on commit 0f8d702

Please sign in to comment.