提交 73c4e6ed 编写于 作者: Y yong.you

modify the hard code

上级 42d69886
......@@ -65,9 +65,9 @@ public class CrossAnalyzer extends AbstractMessageAnalyzer<CrossReport> implemen
} else {
String type = t.getType();
if ("PigeonCall".equals(type) || "Call".equals(type)) {
if (m_serverConfigManager.isClientCall(type)) {
return parsePigeonClientTransaction(t, tree);
} else if ("PigeonService".equals(type) || "Service".equals(type)) {
} else if (m_serverConfigManager.isServerService(type)) {
return parsePigeonServerTransaction(t, tree);
}
return null;
......
......@@ -58,6 +58,14 @@ public class ServerConfigManager implements Initializable, LogEnabled {
public boolean isSerialWrite() {
return false;
}
public boolean isClientCall(String type){
return "PigeonCall".equals(type) || "Call".equals(type);
}
public boolean isServerService(String type){
return "PigeonService".equals(type) || "Service".equals(type);
}
public String getConsoleDefaultDomain() {
if (m_config != null) {
......
......@@ -131,7 +131,7 @@ ul.tabs {
.tabs li {
display: inline;
margin: 0em 0.1em 0em 0.1em;
margin: 0em 0.0em 0em 0.0em;
padding: 0.4em 0.4em 0.4em 0.4em;
overflow: hidden;
border-top: 1px solid black;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册