未验证 提交 6eda8346 编写于 作者: D Daming 提交者: GitHub

remove dead code (#5611)

上级 f39c0dd2
......@@ -18,9 +18,6 @@
package org.apache.skywalking.apm.agent.core.context;
import java.util.ArrayList;
import java.util.List;
import org.apache.skywalking.apm.agent.core.context.ids.DistributedTraceId;
import org.apache.skywalking.apm.agent.core.context.ids.NewDistributedTraceId;
public enum MockContextSnapshot {
......@@ -29,11 +26,14 @@ public enum MockContextSnapshot {
private ContextSnapshot contextSnapshot;
MockContextSnapshot() {
List<DistributedTraceId> distributedTraceIds = new ArrayList<DistributedTraceId>();
distributedTraceIds.add(new NewDistributedTraceId());
contextSnapshot = new ContextSnapshot(
"1, 2, 3", 1, new NewDistributedTraceId(), "/for-test-entryOperationName", new CorrelationContext(), new ExtensionContext());
"1, 2, 3",
1,
new NewDistributedTraceId(),
"/for-test-entryOperationName",
new CorrelationContext(),
new ExtensionContext()
);
}
public ContextSnapshot mockContextSnapshot() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册