File tree 2 files changed +0
-18
lines changed
dd-trace-core/src/main/java/datadog/trace/core
internal-api/src/main/java/datadog/trace/bootstrap/instrumentation/api
2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -965,11 +965,6 @@ public AgentSpan activeSpan() {
965
965
return scopeManager .activeSpan ();
966
966
}
967
967
968
- @ Override
969
- public AgentScope activeScope () {
970
- return scopeManager .active ();
971
- }
972
-
973
968
@ Override
974
969
public void checkpointActiveForRollback () {
975
970
this .scopeManager .checkpointActiveForRollback ();
Original file line number Diff line number Diff line change @@ -189,12 +189,6 @@ public static AgentSpan activeSpan() {
189
189
return get ().activeSpan ();
190
190
}
191
191
192
- /** @deprecated To be removed, do not use. */
193
- @ Deprecated
194
- public static AgentScope activeScope () {
195
- return get ().activeScope ();
196
- }
197
-
198
192
/**
199
193
* Checks whether asynchronous propagation is enabled, meaning this context will propagate across
200
194
* asynchronous boundaries.
@@ -368,8 +362,6 @@ AgentSpan startSpan(
368
362
369
363
AgentSpan activeSpan ();
370
364
371
- AgentScope activeScope ();
372
-
373
365
default AgentSpan blackholeSpan () {
374
366
final AgentSpan active = activeSpan ();
375
367
return new BlackHoleSpan (active != null ? active .getTraceId () : DDTraceId .ZERO );
@@ -539,11 +531,6 @@ public AgentSpan activeSpan() {
539
531
return NoopSpan .INSTANCE ;
540
532
}
541
533
542
- @ Override
543
- public AgentScope activeScope () {
544
- return null ;
545
- }
546
-
547
534
@ Override
548
535
public AgentSpan blackholeSpan () {
549
536
return NoopSpan .INSTANCE ; // no-op tracer stays no-op
You can’t perform that action at this time.
0 commit comments