mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-16 16:28:48 +10:00
[강운덕] [LUCYSUS-1744] flag를 무조껀 기록하도록 수정. 호환성 처리가 힘들수 있어 무조껀 넣는것으로 변경함.
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-commons/trunk@2732 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
@@ -381,10 +381,8 @@ public class SpanBo implements com.nhn.pinpoint.common.bo.Span {
|
||||
buffer.put(false);
|
||||
}
|
||||
|
||||
// 공간 절약을 위해서 flag는 무조껀 마지막에 넣어야 한다.
|
||||
if (flag != 0) {
|
||||
buffer.put(flag);
|
||||
}
|
||||
buffer.put(flag);
|
||||
|
||||
return buffer.getBuffer();
|
||||
}
|
||||
|
||||
@@ -420,10 +418,8 @@ public class SpanBo implements com.nhn.pinpoint.common.bo.Span {
|
||||
this.exceptionMessage = buffer.readPrefixedString();
|
||||
}
|
||||
|
||||
// flag는 무조껀 마지막에 넣어야 한다.
|
||||
if (buffer.limit() == 2) {
|
||||
this.flag = buffer.readShort();
|
||||
}
|
||||
this.flag = buffer.readShort();
|
||||
|
||||
return buffer.getOffset();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user