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() {
954954 return scopeManager .activeSpan ();
955955 }
956956
957- @ Override
958- public AgentScope activeScope () {
959- return scopeManager .active ();
960- }
961-
962957 @ Override
963958 public void checkpointActiveForRollback () {
964959 this .scopeManager .checkpointActiveForRollback ();
Original file line number Diff line number Diff line change @@ -179,12 +179,6 @@ public static AgentSpan activeSpan() {
179179 return get ().activeSpan ();
180180 }
181181
182- /** @deprecated To be removed, do not use. */
183- @ Deprecated
184- public static AgentScope activeScope () {
185- return get ().activeScope ();
186- }
187-
188182 /**
189183 * Checks whether asynchronous propagation is enabled, meaning this context will propagate across
190184 * asynchronous boundaries.
@@ -355,8 +349,6 @@ AgentSpan startSpan(
355349
356350 AgentSpan activeSpan ();
357351
358- AgentScope activeScope ();
359-
360352 default AgentSpan blackholeSpan () {
361353 final AgentSpan active = activeSpan ();
362354 return new BlackHoleSpan (active != null ? active .getTraceId () : DDTraceId .ZERO );
@@ -523,11 +515,6 @@ public AgentSpan activeSpan() {
523515 return NoopSpan .INSTANCE ;
524516 }
525517
526- @ Override
527- public AgentScope activeScope () {
528- return null ;
529- }
530-
531518 @ Override
532519 public AgentSpan blackholeSpan () {
533520 return NoopSpan .INSTANCE ; // no-op tracer stays no-op
You can’t perform that action at this time.
0 commit comments