Skip to content

Commit

Permalink
follow up for #3291 (#3378)
Browse files Browse the repository at this point in the history
  • Loading branch information
beiwei30 authored Jan 29, 2019
1 parent d7e95b4 commit 1efa457
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -25,7 +25,6 @@
import org.apache.dubbo.common.utils.NamedThreadFactory;
import org.apache.dubbo.common.utils.StringUtils;
import org.apache.dubbo.common.utils.UrlUtils;
import org.apache.dubbo.common.utils.CollectionUtils;
import org.apache.dubbo.common.utils.ArrayUtils;
import org.apache.dubbo.registry.NotifyListener;
import org.apache.dubbo.registry.support.FailbackRegistry;
@@ -408,7 +407,7 @@ private void doNotify(Jedis jedis, Collection<String> keys, URL url, Collection<
}
List<URL> urls = new ArrayList<>();
Map<String, String> values = jedis.hgetAll(key);
if (!CollectionUtils.isEmptyMap(values)) {
if (CollectionUtils.isNotEmptyMap(values)) {
for (Map.Entry<String, String> entry : values.entrySet()) {
URL u = URL.valueOf(entry.getKey());
if (!u.getParameter(Constants.DYNAMIC_KEY, true)

0 comments on commit 1efa457

Please sign in to comment.