Skip to content

Commit

Permalink
Avoid ClassCastException (apache#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasleplus authored and beiwei30 committed Jun 12, 2016
1 parent 2c266b8 commit 58b51cd
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();
String[] split = (String[]) 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 58b51cd

Please sign in to comment.