Fixed broken compilation
This commit is contained in:
@@ -46,7 +46,8 @@ public interface TraceContext {
|
||||
String spanId();
|
||||
|
||||
/**
|
||||
* @return {@code true} when sampled, {@code false} when not sampled and {@code null} when sampling decision should be deferred
|
||||
* @return {@code true} when sampled, {@code false} when not sampled and {@code null}
|
||||
* when sampling decision should be deferred
|
||||
*/
|
||||
Boolean sampled();
|
||||
|
||||
|
||||
@@ -61,11 +61,6 @@ class BraveTraceContext implements TraceContext {
|
||||
return this.traceContext != null ? this.traceContext.toString() : "null";
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public Boolean sampled() {
|
||||
return this.traceContext.sampled();
|
||||
}
|
||||
|
||||
static brave.propagation.TraceContext toBrave(TraceContext traceContext) {
|
||||
if (traceContext == null) {
|
||||
return null;
|
||||
|
||||
@@ -109,11 +109,6 @@ class OtelTraceContext implements TraceContext {
|
||||
return this.delegate != null ? this.delegate.toString() : "null";
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public Boolean sampled() {
|
||||
return this.delegate.isSampled();
|
||||
}
|
||||
|
||||
Span span() {
|
||||
return this.span;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user