提交 f6ee2508 编写于 作者: S Sam Brannen

Clean up warning in AnnotatedElementUtils

上级 2bb15f7e
......@@ -916,7 +916,7 @@ public abstract class AnnotatedElementUtils {
}
if (element instanceof Class) { // otherwise getAnnotations doesn't return anything new
Class<?> superclass = ((Class) element).getSuperclass();
Class<?> superclass = ((Class<?>) element).getSuperclass();
if (superclass != null && superclass != Object.class) {
List<Annotation> inheritedAnnotations = new LinkedList<>();
for (Annotation annotation : element.getAnnotations()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册