You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "tswstarplanet (GitHub)" <gi...@apache.org> on 2018/10/11 15:15:22 UTC

[GitHub] [incubator-dubbo] tswstarplanet commented on pull request #2597: 【Code Optimization】Optimize the doSelect method of RandomLoadBalance

I think it is not necessary to check because the select method of AbstractLoadBalance that invoke the method has check the null pointer and the size of the invoker list. If the size of the list is 0, it will not reach here.

[ Full content available at: https://github.com/apache/incubator-dubbo/pull/2597 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org