Skip to content

Commit

Permalink
Update micrometer-commons/src/main/java/io/micrometer/common/annotati…
Browse files Browse the repository at this point in the history
…on/AnnotationUtils.java

Co-authored-by: sonatype-lift[bot] <37194012+sonatype-lift[bot]@users.noreply.github.com>
  • Loading branch information
marcingrzejszczak and sonatype-lift[bot] committed Apr 18, 2023
1 parent 628dfd4 commit 22baf21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static List<AnnotatedParameter> findAnnotatedParameters(Class<? extends Annotati
int i = 0;
for (Annotation[] parameter : parameters) {
for (Annotation parameter2 : parameter) {
if (annotationClazz.isAssignableFrom(parameter2.getClass())) {
if (annotationClazz.isAssignableFrom(parameter2.annotationType())) {
result.add(new AnnotatedParameter(i, parameter2, args[i]));
}
}
Expand Down

0 comments on commit 22baf21

Please sign in to comment.