@@ -1384,7 +1384,7 @@ void testObserve() {
13841384
13851385 @ Test
13861386 // See https://github.com/prometheus/client_java/issues/646
1387- public void testNegativeAmount () {
1387+ void testNegativeAmount () {
13881388 Histogram histogram =
13891389 Histogram .builder ()
13901390 .name ("histogram" )
@@ -1527,7 +1527,7 @@ void testObserveMultithreaded()
15271527 }
15281528
15291529 @ Test
1530- public void testNativeResetDuration () {
1530+ void testNativeResetDuration () {
15311531 // Test that nativeResetDuration can be configured without error and the histogram
15321532 // functions correctly. The reset duration schedules internal reset behavior but
15331533 // is not directly observable in the snapshot.
@@ -1551,7 +1551,7 @@ public void testNativeResetDuration() {
15511551 }
15521552
15531553 @ Test
1554- public void testNativeResetDurationNegativeValue () {
1554+ void testNativeResetDurationNegativeValue () {
15551555 assertThatExceptionOfType (IllegalArgumentException .class )
15561556 .isThrownBy (
15571557 () ->
@@ -1564,7 +1564,7 @@ public void testNativeResetDurationNegativeValue() {
15641564 }
15651565
15661566 @ Test
1567- public void testNativeResetDurationZeroValue () {
1567+ void testNativeResetDurationZeroValue () {
15681568 assertThatExceptionOfType (IllegalArgumentException .class )
15691569 .isThrownBy (
15701570 () ->
@@ -1577,7 +1577,7 @@ public void testNativeResetDurationZeroValue() {
15771577 }
15781578
15791579 @ Test
1580- public void testNativeResetDurationSubSecond () {
1580+ void testNativeResetDurationSubSecond () {
15811581 // Sub-second durations should be rejected as they truncate to 0 seconds
15821582 assertThatExceptionOfType (IllegalArgumentException .class )
15831583 .isThrownBy (
0 commit comments