diff --git a/sdk/trace/src/main/java/io/opentelemetry/sdk/trace/MultiSpanProcessor.java b/sdk/trace/src/main/java/io/opentelemetry/sdk/trace/MultiSpanProcessor.java index 705351e83f5..a06b4b69579 100644 --- a/sdk/trace/src/main/java/io/opentelemetry/sdk/trace/MultiSpanProcessor.java +++ b/sdk/trace/src/main/java/io/opentelemetry/sdk/trace/MultiSpanProcessor.java @@ -35,9 +35,9 @@ static SpanProcessor create(List spanProcessorList) { } @Override - public void onStart(Context parentContext, ReadWriteSpan readableSpan) { + public void onStart(Context parentContext, ReadWriteSpan readWriteSpan) { for (SpanProcessor spanProcessor : spanProcessorsStart) { - spanProcessor.onStart(parentContext, readableSpan); + spanProcessor.onStart(parentContext, readWriteSpan); } }