1. 下沉CallType到protocol工程
2. 修复Web和Dubbo的BuriedPoint的CallType类型
This commit is contained in:
parent
d65e8b9a8c
commit
8c311b17df
|
|
@ -22,7 +22,7 @@ public class DubboBuriedPointType implements IBuriedPointType {
|
|||
|
||||
@Override
|
||||
public CallType getCallType() {
|
||||
return CallType.ASYNC;
|
||||
return CallType.SYNC;
|
||||
}
|
||||
|
||||
private DubboBuriedPointType() {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ public class WEBBuriedPointType implements IBuriedPointType {
|
|||
|
||||
@Override
|
||||
public CallType getCallType() {
|
||||
return CallType.ASYNC;
|
||||
return CallType.SYNC;
|
||||
}
|
||||
|
||||
private WEBBuriedPointType() {
|
||||
|
|
|
|||
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Reference in New Issue