Skip to content

Commit ececf32

Browse files
committed
Revert unintentional change in AnnotationUtils
1 parent b723dce commit ececf32

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,11 +364,12 @@ public static <A extends Annotation> A findAnnotation(Method method, Class<A> an
364364
result = searchOnInterfaces(method, annotationType, clazz.getInterfaces());
365365
}
366366
}
367-
}
368367

369-
if (result != null) {
370-
findAnnotationCache.put(cacheKey, result);
368+
if (result != null) {
369+
findAnnotationCache.put(cacheKey, result);
370+
}
371371
}
372+
372373
return result;
373374
}
374375

0 commit comments

Comments
 (0)