提交 b5a6735c 编写于 作者: W william.liangf

还原provider配置default.前缀

git-svn-id: http://code.alibabatech.com/svn/dubbo/trunk@602 1a56cb94-b969-4eaa-88fa-be21384802f2
上级 5b5f9cea
......@@ -132,6 +132,10 @@ public abstract class AbstractConfig implements Serializable {
if (pre != null && pre.length() > 0) {
str = pre + "," + str;
}
pre = (String)parameters.get(key);
if (pre != null && pre.length() > 0) {
str = pre + "," + str;
}
}
if (prefix != null && prefix.length() > 0) {
key = prefix + "." + key;
......
......@@ -327,7 +327,7 @@ public class ServiceConfig<T> extends AbstractServiceConfig {
}
map.put("dubbo", Version.getVersion());
appendParameters(map, application);
appendParameters(map, provider, Constants.DEFAULT_KEY);
appendParameters(map, provider);
appendParameters(map, protocolConfig);
appendParameters(map, this);
map.put("prompt", "dubbo");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册