Skip to content

Commit

Permalink
Reinstate string array handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Aug 14, 2024
1 parent 9608b6f commit 3454af4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1108,6 +1108,8 @@ 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 3454af4

Please sign in to comment.