Skip to content

Commit

Permalink
Remove String array from annotation value handler for primitives as i…
Browse files Browse the repository at this point in the history
…t is not implied by the ASM spec.
  • Loading branch information
raphw committed Aug 14, 2024
1 parent 345800e commit 9608b6f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1108,8 +1108,6 @@ public static AnnotationValue<String[], String[]> of(String... value) {
return of((float[]) value);
} else if (value instanceof double[]) {
return of((double[]) value);
} else if (value instanceof String[]) {
return of((String[]) value);
} else {
throw new IllegalArgumentException("Not a constant annotation value: " + value);
}
Expand Down

0 comments on commit 9608b6f

Please sign in to comment.