diff --git a/dubbo-admin/src/main/java/com/alibaba/dubbo/governance/web/common/interceptor/RestfuleUrlRewriter.java b/dubbo-admin/src/main/java/com/alibaba/dubbo/governance/web/common/interceptor/RestfuleUrlRewriter.java index c930d5830a2..cf7fbe21c91 100644 --- a/dubbo-admin/src/main/java/com/alibaba/dubbo/governance/web/common/interceptor/RestfuleUrlRewriter.java +++ b/dubbo-admin/src/main/java/com/alibaba/dubbo/governance/web/common/interceptor/RestfuleUrlRewriter.java @@ -101,7 +101,7 @@ public void postSubstitution(RewriteSubstitutionContext context) { return; } //兼容包含group的path - String[] split = (String[]) temp.toArray(new String[temp.size()]); + String[] split = temp.toArray(new String[temp.size()]); if(temp.size()>2&&temp.contains("services")){ List parts = new ArrayList();