Add missing javadoc param to ImmutableSpanContext.create() (#4903)

* add missing param

* change wording to indicate optimization

* Update api/all/src/main/java/io/opentelemetry/api/internal/ImmutableSpanContext.java

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
This commit is contained in:
jason plumb 2022-11-02 18:13:28 -07:00 committed by GitHub
parent 435411b7da
commit fedcbbe889
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ public abstract class ImmutableSpanContext implements SpanContext {
* @param traceFlags the trace flags of the {@code SpanContext}.
* @param traceState the trace state for the {@code SpanContext}.
* @param remote the remote flag for the {@code SpanContext}.
* @param skipIdValidation pass true to skip validation of trace ID and span ID as an optimization
* in cases where they are known to have been already validated.
* @return a new {@code SpanContext} with the given identifiers and options.
*/
public static SpanContext create(