fix a few more errorprone warnings

This commit is contained in:
John Watson 2025-07-05 10:20:30 -07:00
parent febb64e126
commit b78a823fde
No known key found for this signature in database
GPG Key ID: F29B8204040FB498
2 changed files with 3 additions and 3 deletions

View File

@ -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());

View File

@ -103,7 +103,7 @@ public class MutableHistogramPointDataTest {
assertThat(anotherPointData.hashCode()).isNotEqualTo(pointData.hashCode());
}
@Test()
@Test
void testBoundaries() {
MutableHistogramPointData pointData = new MutableHistogramPointData(10);
assertThatThrownBy(