Permalink
Browse files

avoid unnecessary cast

1 parent 58b51cd commit 45cd6720ead30a1226af2b5fe552759ee795e767 @beiwei30 beiwei30 committed Jun 12, 2016
@@ -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<String> parts = new ArrayList<String>();

0 comments on commit 45cd672

Please sign in to comment.