dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khanimteyaz (GitHub) <git...@apache.org>
Subject [GitHub] [incubator-dubbo] khanimteyaz commented on pull request #2975: add period check that whether provider exists or not for zk registry
Date Mon, 17 Dec 2018 11:23:42 GMT
Just as an thought, can be rewritten as 

 boolean serviceExist= childPath.stream()
                .anyMatch(url->url.getHost().equalsIgnoreCase(host) && url.getPort()==port);

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

View raw message