Skip to content

Commit f050879

Browse files
committed
Remove old context prototype
1 parent 0c2f7ff commit f050879

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

Lines changed: 0 additions & 91 deletions
This file was deleted.

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

Lines changed: 0 additions & 101 deletions
This file was deleted.

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

Lines changed: 0 additions & 68 deletions
This file was deleted.

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

Lines changed: 0 additions & 97 deletions
This file was deleted.

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

Lines changed: 1 addition & 6 deletions
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)