Skip to content

Commit

Permalink
avoid unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
beiwei30 committed Jun 12, 2016
1 parent 58b51cd commit 45cd672
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>();
Expand Down

0 comments on commit 45cd672

Please sign in to comment.