johnament commented on a change in pull request #323: Handle @Priority on
ExceptionMappers
URL: https://github.com/apache/cxf/pull/323#discussion_r146619625
##########
File path:
rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
##########
@@ -858,7 +858,7 @@ private static int compareCustomStatus(ProviderInfo<?> p1,
ProviderInfo<?> p2) {
return result;
}
- private static int comparePriorityStatus(Class<?> cl1, Class<?> cl2) {
+ static int comparePriorityStatus(Class<?> cl1, Class<?> cl2) {
Review comment:
You're correct, I'm thinking a bit ahead.
I'm thinking of use cases where the underlying `ProviderFactory` used in the
code base either isn't one provided by CXF or provided by CXF but in a
different module. In those cases, it would be good to be able to reuse this
logic instead of having to replicate it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services