You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/08 03:56:00 UTC

[jira] [Commented] (SCB-942) choose the highest priority from all implementation classes

    [ https://issues.apache.org/jira/browse/SCB-942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16641330#comment-16641330 ] 

ASF GitHub Bot commented on SCB-942:
------------------------------------

liubao68 commented on a change in pull request #935: [SCB-942]Choose the highest priority from all implementation classes
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/935#discussion_r223244466
 
 

 ##########
 File path: foundations/foundation-common/src/main/java/org/apache/servicecomb/foundation/common/utils/SPIServiceUtils.java
 ##########
 @@ -149,7 +149,7 @@ private SPIServiceUtils() {
     List<T> services = getOrLoadSortedService(serviceType);
     return (IMPL) services
         .stream()
-        .filter(service -> service.getClass().equals(implType))
+        .filter(service -> implType.isAssignableFrom(service.getClass()))
 
 Review comment:
   I have updated the JIRA status. This PR is not valid. Please close 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:
users@infra.apache.org


> choose the highest priority from all implementation classes
> -----------------------------------------------------------
>
>                 Key: SCB-942
>                 URL: https://issues.apache.org/jira/browse/SCB-942
>             Project: Apache ServiceComb
>          Issue Type: Task
>            Reporter: laijianbin
>            Assignee: laijianbin
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)