Skip to content

Commit

Permalink
Make span binding to context package-private
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatan-ivanov committed Oct 4, 2022
1 parent 0e4112a commit 090cfda
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public TraceContext getTraceContext() {
* @param traceContext the traceContext to use to bind this span to
* @param span the span that needs to be bounded to the traceContext
*/
public static void bindSpanToTraceContext(TraceContext traceContext, Span span) {
static void bindSpanToTraceContext(TraceContext traceContext, Span span) {
traceContextToSpans.put(traceContext, span);
}

Expand All @@ -82,7 +82,7 @@ public static void bindSpanToTraceContext(TraceContext traceContext, Span span)
* @param traceContext the traceContext to use to fetch the span
* @return the span that is bounded to the given traceContext (null if none)
*/
public static Span getSpanForTraceContext(TraceContext traceContext) {
static Span getSpanForTraceContext(TraceContext traceContext) {
return traceContextToSpans.get(traceContext);
}

Expand Down

0 comments on commit 090cfda

Please sign in to comment.