提交 de6e6806 编写于 作者: wu-sheng's avatar wu-sheng

Fix NullPointException

上级 f0a91d45
......@@ -158,6 +158,9 @@ public class TraceSegment implements ISerializable<SegmentMessage> {
}
public List<TraceSegmentRef> getRefs() {
if(refs == null){
return null;
}
return Collections.unmodifiableList(refs);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册