File tree Expand file tree Collapse 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 Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -954,11 +954,6 @@ public AgentSpan activeSpan() {
954
954
return scopeManager .activeSpan ();
955
955
}
956
956
957
- @ Override
958
- public AgentScope activeScope () {
959
- return scopeManager .active ();
960
- }
961
-
962
957
@ Override
963
958
public void checkpointActiveForRollback () {
964
959
this .scopeManager .checkpointActiveForRollback ();
Original file line number Diff line number Diff line change @@ -179,12 +179,6 @@ public static AgentSpan activeSpan() {
179
179
return get ().activeSpan ();
180
180
}
181
181
182
- /** @deprecated To be removed, do not use. */
183
- @ Deprecated
184
- public static AgentScope activeScope () {
185
- return get ().activeScope ();
186
- }
187
-
188
182
/**
189
183
* Checks whether asynchronous propagation is enabled, meaning this context will propagate across
190
184
* asynchronous boundaries.
@@ -355,8 +349,6 @@ AgentSpan startSpan(
355
349
356
350
AgentSpan activeSpan ();
357
351
358
- AgentScope activeScope ();
359
-
360
352
default AgentSpan blackholeSpan () {
361
353
final AgentSpan active = activeSpan ();
362
354
return new BlackHoleSpan (active != null ? active .getTraceId () : DDTraceId .ZERO );
@@ -523,11 +515,6 @@ public AgentSpan activeSpan() {
523
515
return NoopSpan .INSTANCE ;
524
516
}
525
517
526
- @ Override
527
- public AgentScope activeScope () {
528
- return null ;
529
- }
530
-
531
518
@ Override
532
519
public AgentSpan blackholeSpan () {
533
520
return NoopSpan .INSTANCE ; // no-op tracer stays no-op
You can’t perform that action at this time.
0 commit comments