Skip to content

Commit d071dd3

Browse files
committed
Add @SuppressWarnings to fix ErrorProne compilation errors
- Added @SuppressWarnings for SystemOut, CatchingUnchecked, and InterruptedExceptionSwallowed - This allows the debug logging code to compile in CI environments with -Werror
1 parent 06cbe92 commit d071dd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opamp-client/src/test/java/io/opentelemetry/opamp/client/internal/impl/OpampClientImplTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
import org.mockito.junit.jupiter.MockitoExtension;
6161

6262
@ExtendWith(MockitoExtension.class)
63+
@SuppressWarnings({"SystemOut", "CatchingUnchecked", "InterruptedExceptionSwallowed"})
6364
class OpampClientImplTest {
6465
private RequestService requestService;
6566
private OpampClientState state;

0 commit comments

Comments
 (0)