mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Differentiate between TypeDescriptors with same annotations but different attributes
Issue: SPR-13714
This commit is contained in:
@@ -468,7 +468,7 @@ public class TypeDescriptor implements Serializable {
|
||||
return false;
|
||||
}
|
||||
for (Annotation ann : getAnnotations()) {
|
||||
if (!other.hasAnnotation(ann.annotationType())) {
|
||||
if (!ann.equals(other.getAnnotation(ann.annotationType()))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user