提交 eba52148 编写于 作者: J jialinsun

clean code

上级 f6e9a1f3
......@@ -138,7 +138,7 @@ public class ThirdPartyAlertBuilder implements Task, LogEnabled {
Map<String, Par> pars = http.getPars();
String details = "HTTP URL[" + url + "?" + buildPars(pars) + "] " + type.toUpperCase() + "访问出现异常";
entity.setDomains(http.getDomain()).setType(type).setDetails(details);
entity.setDomain(http.getDomain()).setType(type).setDetails(details);
return entity;
}
......
......@@ -30,7 +30,7 @@ public class ThirdPartyAlertEntity {
return this;
}
public ThirdPartyAlertEntity setDomains(String domain) {
public ThirdPartyAlertEntity setDomain(String domain) {
m_domain = domain;
return this;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册