Skip to content

Commit

Permalink
fix: ArrayIndexOutOfBoundsException
Browse files Browse the repository at this point in the history
  • Loading branch information
linyimin0812 committed Jun 4, 2024
1 parent ae4463a commit 8ccde1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public boolean filter(String methodName, String[] methodTypes) {
}

if (methodTypes.length == 1) {
return "java.lang.String[]".equals(methodTypes[1]);
return "java.lang.String[]".equals(methodTypes[0]);
}

if (methodTypes.length == 2) {
Expand Down

0 comments on commit 8ccde1a

Please sign in to comment.