Skip to content

CXF-8532: @Priority support for ParamConverterProvider#807

Merged
reta merged 1 commit intoapache:masterfrom
reta:CXF-8532
Jun 1, 2021
Merged

CXF-8532: @Priority support for ParamConverterProvider#807
reta merged 1 commit intoapache:masterfrom
reta:CXF-8532

Conversation

@reta
Copy link
Member

@reta reta commented May 30, 2021

@Priority support for ParamConverterProvider providers

@reta
Copy link
Member Author

reta commented May 30, 2021

@andymc12 mind please taking a look? Also, I've noticed MicroProfileClientProviderFactory::createComparator does not take @Priority into account for providers, it is not required by spec? (sorry didn't have time to check it myself).

@andymc12
Copy link
Contributor

andymc12 commented May 30, 2021 via email

@reta
Copy link
Member Author

reta commented May 31, 2021

@andymc12 my apologies, double-checked the implementation, the MicroProfileClientProviderFactory::createComparator is all set, it uses ContractComparator which uses the delegating comparator (the one which confused me) but itself check the priorities.

Copy link
Contributor

@andymc12 andymc12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me. Thanks @reta!

@reta
Copy link
Member Author

reta commented Jun 1, 2021

Thanks a mill, @andymc12 !

@reta reta merged commit 33478ad into apache:master Jun 1, 2021
reta added a commit that referenced this pull request Jun 1, 2021
reta added a commit that referenced this pull request Jun 2, 2021
(cherry picked from commit 33478ad)
(cherry picked from commit cc9efac)
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