Polishing
This commit is contained in:
parent
7d5e474e0d
commit
8595f01e44
|
@ -547,6 +547,7 @@ public class CommonAnnotationBeanPostProcessor extends InitDestroyAnnotationBean
|
||||||
|
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
|
@Nullable
|
||||||
private static Class<? extends Annotation> loadAnnotationType(String name) {
|
private static Class<? extends Annotation> loadAnnotationType(String name) {
|
||||||
try {
|
try {
|
||||||
return (Class<? extends Annotation>)
|
return (Class<? extends Annotation>)
|
||||||
|
|
|
@ -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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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 java.util.EnumSet;
|
||||||
|
|
||||||
import org.springframework.lang.Nullable;
|
import org.springframework.lang.Nullable;
|
||||||
|
|
||||||
import static java.nio.file.FileVisitOption.FOLLOW_LINKS;
|
import static java.nio.file.FileVisitOption.FOLLOW_LINKS;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue