mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
Polish alibaba/spring-cloud-alibaba#1363 : Sync spring-cloud-starter-dubbo module
This commit is contained in:
parent
787b529f7c
commit
0da36b8b2e
@ -403,9 +403,11 @@ public class DubboServiceMetadataRepository
|
|||||||
return emptyList();
|
return emptyList();
|
||||||
}
|
}
|
||||||
|
|
||||||
return hasText(protocol) ? urls.stream()
|
return hasText(protocol)
|
||||||
|
? urls.stream()
|
||||||
.filter(url -> url.getProtocol().equalsIgnoreCase(protocol))
|
.filter(url -> url.getProtocol().equalsIgnoreCase(protocol))
|
||||||
.collect(Collectors.toList()) : unmodifiableList(urls);
|
.collect(Collectors.toList())
|
||||||
|
: unmodifiableList(urls);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user