diff --git a/dubbo-plugin/dubbo-qos/src/test/java/org/apache/dubbo/qos/legacy/TraceTelnetHandlerTest.java b/dubbo-plugin/dubbo-qos/src/test/java/org/apache/dubbo/qos/legacy/TraceTelnetHandlerTest.java index 8b3e878e133..63202a92671 100644 --- a/dubbo-plugin/dubbo-qos/src/test/java/org/apache/dubbo/qos/legacy/TraceTelnetHandlerTest.java +++ b/dubbo-plugin/dubbo-qos/src/test/java/org/apache/dubbo/qos/legacy/TraceTelnetHandlerTest.java @@ -71,7 +71,8 @@ public void test() throws Exception { String key = method != null && method.length() > 0 ? type.getName() + "." + method : type.getName(); Field tracers = TraceFilter.class.getDeclaredField("TRACERS"); tracers.setAccessible(true); - ConcurrentHashMap> map = (ConcurrentHashMap>) tracers.get(new ConcurrentHashMap>()); + ConcurrentHashMap> map = + (ConcurrentHashMap>) tracers.get(new ConcurrentHashMap>()); Set channels = map.getOrDefault(key, null); Assertions.assertNotNull(channels);