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