|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2017 the original author or authors. |
|
|
|
|
* Copyright 2002-2019 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. |
|
|
|
|
@ -28,6 +28,7 @@ import org.springframework.core.annotation.AnnotationAttributes;
@@ -28,6 +28,7 @@ import org.springframework.core.annotation.AnnotationAttributes;
|
|
|
|
|
import org.springframework.core.annotation.AnnotationUtils; |
|
|
|
|
import org.springframework.lang.Nullable; |
|
|
|
|
import org.springframework.util.ClassUtils; |
|
|
|
|
import org.springframework.util.CollectionUtils; |
|
|
|
|
import org.springframework.util.LinkedMultiValueMap; |
|
|
|
|
import org.springframework.util.ObjectUtils; |
|
|
|
|
|
|
|
|
|
@ -124,7 +125,7 @@ abstract class AnnotationReadingVisitorUtils {
@@ -124,7 +125,7 @@ abstract class AnnotationReadingVisitorUtils {
|
|
|
|
|
|
|
|
|
|
// Get the unmerged list of attributes for the target annotation.
|
|
|
|
|
List<AnnotationAttributes> attributesList = attributesMap.get(annotationName); |
|
|
|
|
if (attributesList == null || attributesList.isEmpty()) { |
|
|
|
|
if (CollectionUtils.isEmpty(attributesList)) { |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|