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") @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>)

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"); * 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;
/** /**