Skip to content

Commit

Permalink
Fix java google format (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
trask authored May 26, 2020
1 parent 6c8cd2e commit e9096bb
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import io.opentelemetry.auto.instrumentation.api.SpanWithScope;
import io.opentelemetry.auto.tooling.Instrumenter;
import io.opentelemetry.trace.Span;
import io.opentelemetry.trace.Span.Kind;
import java.lang.reflect.Method;
import java.util.Map;
import net.bytebuddy.asm.Advice;
Expand Down Expand Up @@ -95,10 +94,7 @@ public static SpanWithScope start(@Advice.Origin final Method method) {
}

// Here we use the Method instead of "this.class.name" to distinguish calls to "super".
final Span span =
TRACER
.spanBuilder(DECORATE.spanNameForMethod(method))
.startSpan();
final Span span = TRACER.spanBuilder(DECORATE.spanNameForMethod(method)).startSpan();
DECORATE.afterStart(span);

return new SpanWithScope(span, currentContextWith(span));
Expand Down

0 comments on commit e9096bb

Please sign in to comment.