mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Remove unnecessary type specifications
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179585680
This commit is contained in:
parent
f1ae66d148
commit
ed0670b614
52 changed files with 193 additions and 221 deletions
|
@ -31,8 +31,7 @@ public class StoredMetricTest {
|
|||
@Test
|
||||
public void testGetCardinality_reflectsCurrentCardinality() {
|
||||
StoredMetric<Boolean> smallMetric =
|
||||
new StoredMetric<>(
|
||||
"/metric", "description", "vdn", ImmutableSet.<LabelDescriptor>of(), Boolean.class);
|
||||
new StoredMetric<>("/metric", "description", "vdn", ImmutableSet.of(), Boolean.class);
|
||||
assertThat(smallMetric.getCardinality()).isEqualTo(0);
|
||||
|
||||
smallMetric.set(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue