Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
Return JaegerTracer.SpanBuilder.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikhil Bysani committed Jun 29, 2018
1 parent 5868151 commit 53b89dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jaeger-core/src/main/java/io/jaegertracing/JaegerTracer.java
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public Span activeSpan() {
}

@Override
public Tracer.SpanBuilder buildSpan(String operationName) {
public JaegerTracer.SpanBuilder buildSpan(String operationName) {
return new SpanBuilder(operationName);
}

Expand Down Expand Up @@ -206,7 +206,7 @@ public void close() {
}

//Visible for testing
class SpanBuilder implements Tracer.SpanBuilder {
public final class SpanBuilder implements Tracer.SpanBuilder {

private String operationName = null;
private long startTimeMicroseconds;
Expand All @@ -218,7 +218,7 @@ class SpanBuilder implements Tracer.SpanBuilder {
private final Map<String, Object> tags = new HashMap<String, Object>();
private boolean ignoreActiveSpan = false;

SpanBuilder(String operationName) {
private SpanBuilder(String operationName) {
this.operationName = operationName;
}

Expand Down

0 comments on commit 53b89dc

Please sign in to comment.