Skip to content

TypeDescriptor.equals tests equality of annotations#924

Closed
nathanpiper wants to merge 1 commit into
spring-projects:masterfrom
nathanpiper:SPR-13714
Closed

TypeDescriptor.equals tests equality of annotations#924
nathanpiper wants to merge 1 commit into
spring-projects:masterfrom
nathanpiper:SPR-13714

Conversation

@nathanpiper

Copy link
Copy Markdown

The current implementation of TypeDescriptor.equals merely tests for the presence of annotations between the compared type descriptors, as apposed to also comparing annotation property values.

This ultimately lead to problems with the GenericConversionService cache returning the "wrong" conditional converter in my application.

I have signed and agree to the terms of the Spring Individual Contributor
License Agreement.

Issue: SPR-13714

@jhoeller

Copy link
Copy Markdown
Contributor

Thanks for the pull request! I've rolled this in a slightly revised fashion, including some general rearrangments in the affected tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants