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

SpanBuilder deprecate startManual #225

Merged
merged 2 commits into from
Dec 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 #start} 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();
}
}