Polishing

This commit is contained in:
Juergen Hoeller 2020-04-03 21:08:45 +02:00
parent 7d5e474e0d
commit 8595f01e44
2 changed files with 3 additions and 1 deletions

View File

@ -547,6 +547,7 @@ public class CommonAnnotationBeanPostProcessor extends InitDestroyAnnotationBean
@SuppressWarnings("unchecked")
@Nullable
private static Class<? extends Annotation> loadAnnotationType(String name) {
try {
return (Class<? extends Annotation>)

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2017 the original author or authors.
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -27,6 +27,7 @@ import java.nio.file.attribute.BasicFileAttributes;
import java.util.EnumSet;
import org.springframework.lang.Nullable;
import static java.nio.file.FileVisitOption.FOLLOW_LINKS;
/**