Remove unused code

This commit is contained in:
Trask Stalnaker 2019-10-19 13:47:31 -07:00
parent 3a9ef21106
commit d45b571996
2 changed files with 0 additions and 12 deletions

View File

@ -39,12 +39,6 @@ public abstract class BaseDecorator {
return false;
}
public AgentScope afterStart(final AgentScope scope) {
assert scope != null;
afterStart(scope.span());
return scope;
}
public AgentSpan afterStart(final AgentSpan span) {
assert span != null;
if (spanType() != null) {

View File

@ -126,12 +126,6 @@ class BaseDecoratorTest extends DDSpecification {
def span = Mock(AgentSpan)
def scope = Mock(AgentScope)
when:
decorator.afterStart(scope)
then:
1 * scope.span() >> span
when:
decorator.onError(scope, null)