Skip to content

Commit 07a9b91

Browse files
committed
Optimize code
1 parent 1c9e8e6 commit 07a9b91

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/apache-dubbo-2.7/library-autoconfigure/src/testLatestDepDubbo/java/io/opentelemetry/instrumentation/apachedubbo/v2_7

1 file changed

+1
-1
lines changed

instrumentation/apache-dubbo-2.7/library-autoconfigure/src/testLatestDepDubbo/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/DubboHeadersGetterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class DubboHeadersGetterTest {
2727
@Mock RpcInvocation rpcInvocation;
2828

2929
@Test
30-
@SuppressWarnings({"deprecation", "unchecked"}) // deprecation for RpcInvocation()
30+
@SuppressWarnings("deprecation") // deprecation for RpcInvocation()
3131
void testKeys() {
3232
when(context.getUrl()).thenReturn(new URL("http", "localhost", 1));
3333
when(context.getRemoteAddress()).thenReturn(new InetSocketAddress(1));

0 commit comments

Comments
 (0)