Skip to content

Commit cf09045

Browse files
authored
Remove old context prototype (#8162)
1 parent 0c2f7ff commit cf09045

File tree

9 files changed

+1
-504
lines changed

9 files changed

+1
-504
lines changed

dd-trace-core/src/main/java/datadog/trace/core/DDBaggage.java

-91
This file was deleted.

dd-trace-core/src/main/java/datadog/trace/core/DDScopedContext.java

-101
This file was deleted.

dd-trace-core/src/test/groovy/datadog/trace/core/DDBaggageTest.groovy

-68
This file was deleted.

dd-trace-core/src/test/groovy/datadog/trace/core/DDScopedContextTest.groovy

-97
This file was deleted.

internal-api/src/main/java/datadog/trace/bootstrap/instrumentation/api/AgentSpan.java

+1-6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import java.util.List;
1010
import java.util.Map;
1111

12-
public interface AgentSpan extends MutableSpan, IGSpanInfo, ImplicitContextKeyed, WithAgentSpan {
12+
public interface AgentSpan extends MutableSpan, IGSpanInfo, WithAgentSpan {
1313

1414
DDTraceId getTraceId();
1515

@@ -141,11 +141,6 @@ public interface AgentSpan extends MutableSpan, IGSpanInfo, ImplicitContextKeyed
141141

142142
void addLink(AgentSpanLink link);
143143

144-
@Override
145-
default ScopedContext storeInto(ScopedContext context) {
146-
return context.with(ScopedContextKey.SPAN_KEY, this);
147-
}
148-
149144
AgentSpan setMetaStruct(final String field, final Object value);
150145

151146
boolean isOutbound();

0 commit comments

Comments
 (0)