Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
SpanBuilder deprecate startManual
Browse files Browse the repository at this point in the history
  • Loading branch information
pavolloffay committed Nov 30, 2017
1 parent 10d3c21 commit d3bb527
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions opentracing-api/src/main/java/io/opentracing/Tracer.java
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,12 @@ interface SpanBuilder {
*/
Scope startActive(boolean finishSpanOnClose);

/**
* @deprecated use {@link #startManual} or {@link #startActive} instead.
*/
@Deprecated
Span startManual();

/**
* Like {@link #startActive()}, but the returned {@link Span} has not been registered via the
* {@link ScopeManager}.
Expand All @@ -233,12 +239,6 @@ interface SpanBuilder {
* @return the newly-started Span instance, which has *not* been automatically registered
* via the {@link ScopeManager}
*/
Span startManual();

/**
* @deprecated use {@link #startManual} or {@link #startActive} instead.
*/
@Deprecated
Span start();
}
}

0 comments on commit d3bb527

Please sign in to comment.