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

Commit

Permalink
Update comments to match current API
Browse files Browse the repository at this point in the history
  • Loading branch information
bensigelman authored Aug 7, 2016
1 parent 6aae3cb commit ea0eebe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opentracing-api/src/main/java/io/opentracing/Tracer.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ public interface Tracer {
interface SpanBuilder {

/**
* A shorthand for withReference(Reference.childOf(parent)).
* A shorthand for addReference(References.CHILD_OF, parent).
*/
SpanBuilder asChildOf(SpanContext parent);

/**
* A shorthand for withReference(Reference.childOf(parent.context())).
* A shorthand for addReference(References.CHILD_OF, parent.context()).
*/
SpanBuilder asChildOf(Span parent);

Expand Down

0 comments on commit ea0eebe

Please sign in to comment.