1. 下沉CallType到protocol工程

2. 修复Web和Dubbo的BuriedPoint的CallType类型
This commit is contained in:
zhangxin10 2016-01-18 10:40:04 +08:00
parent d65e8b9a8c
commit 8c311b17df
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ public class DubboBuriedPointType implements IBuriedPointType {
@Override
public CallType getCallType() {
return CallType.ASYNC;
return CallType.SYNC;
}
private DubboBuriedPointType() {

View File

@ -22,7 +22,7 @@ public class WEBBuriedPointType implements IBuriedPointType {
@Override
public CallType getCallType() {
return CallType.ASYNC;
return CallType.SYNC;
}
private WEBBuriedPointType() {

View File

@ -10,7 +10,7 @@ public enum CallType {
this.value = value;
}
public CallType convert(String id) {
public static CallType convert(String id) {
char v = id.charAt(0);
switch (v) {
case 'L':