File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
opencensus-shim/src/main/java/io/opentelemetry/opencensusshim Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -129,12 +129,12 @@ public Span startSpan() {
129129 Boolean hasRemoteParent = null ;
130130 if (ocRemoteParentSpanContext != null && ocRemoteParentSpanContext .isValid ()) {
131131 ocParentContext = ocRemoteParentSpanContext ;
132- hasRemoteParent = Boolean . TRUE ;
132+ hasRemoteParent = true ;
133133 ocTraceId = ocParentContext .getTraceId ();
134134 ocTracestate = ocParentContext .getTracestate ();
135135 } else if (ocParent != null && ocParent .getContext ().isValid ()) {
136136 ocParentContext = ocParent .getContext ();
137- hasRemoteParent = Boolean . FALSE ;
137+ hasRemoteParent = false ;
138138 ocTraceId = ocParentContext .getTraceId ();
139139 ocTracestate = ocParentContext .getTracestate ();
140140 } else {
You can’t perform that action at this time.
0 commit comments