fix a few more errorprone warnings
This commit is contained in:
parent
febb64e126
commit
b78a823fde
|
|
@ -36,7 +36,7 @@ class ExporterInstrumentationTest {
|
|||
Supplier<MeterProvider> meterProviderSupplier = mock(Supplier.class);
|
||||
|
||||
@ParameterizedTest
|
||||
@EnumSource()
|
||||
@EnumSource
|
||||
void validMeterProvider(InternalTelemetryVersion schemaVersion) {
|
||||
when(meterProviderSupplier.get())
|
||||
.thenReturn(
|
||||
|
|
@ -84,7 +84,7 @@ class ExporterInstrumentationTest {
|
|||
}
|
||||
|
||||
@ParameterizedTest
|
||||
@EnumSource()
|
||||
@EnumSource
|
||||
void noopMeterProvider(InternalTelemetryVersion schemaVersion) {
|
||||
|
||||
when(meterProviderSupplier.get()).thenReturn(MeterProvider.noop());
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ public class MutableHistogramPointDataTest {
|
|||
assertThat(anotherPointData.hashCode()).isNotEqualTo(pointData.hashCode());
|
||||
}
|
||||
|
||||
@Test()
|
||||
@Test
|
||||
void testBoundaries() {
|
||||
MutableHistogramPointData pointData = new MutableHistogramPointData(10);
|
||||
assertThatThrownBy(
|
||||
|
|
|
|||
Loading…
Reference in New Issue