Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ default DoubleHistogramBuilder setExplicitBucketBoundariesAdvice(List<Double> bu
return this;
}

/** Sets the Counter for recording {@code long} values. */
/** Sets the Histogram for recording {@code long} values. */
LongHistogramBuilder ofLongs();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public interface LongUpDownCounterBuilder {
*/
LongUpDownCounterBuilder setUnit(String unit);

/** Sets the Counter for recording {@code double} values. */
/** Sets the UpDownCounter for recording {@code double} values. */
DoubleUpDownCounterBuilder ofDoubles();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static TraceFlags fromByte(byte traceFlagsByte) {
* Returns {@code true} if the sampling bit is on for this {@link TraceFlags}, otherwise {@code
* false}.
*
* @return {@code true} if the sampling bit is on for this {@link TraceFlags}, otherwise {@code *
* @return {@code true} if the sampling bit is on for this {@link TraceFlags}, otherwise {@code
* false}.
*/
boolean isSampled();
Expand All @@ -92,7 +92,7 @@ default boolean isTraceIdRandom() {
/**
* Returns the lowercase hex (base16) representation of this {@link TraceFlags}.
*
* @return the byte representation of the {@link TraceFlags}.
* @return the lowercase hex (base16) representation of the {@link TraceFlags}.
*/
String asHex();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public static boolean isValid(CharSequence traceId) {
* given bytes representation, or {@link #getInvalid()} if input is {@code null} or the given byte
* array is too short.
*
* <p>It converts the first 26 bytes of the given byte array.
* <p>It converts the first 16 bytes of the given byte array.
*
* @param traceIdBytes the bytes (16-byte array) representation of the {@code TraceId}.
* @return the lowercase hex (base16) representation of the {@code TraceId}.
Expand All @@ -86,7 +86,7 @@ public static String fromBytes(byte[] traceIdBytes) {
}

/**
* Returns the bytes (16-byte array) representation of the {@code TraceId} converted from the
* Returns the lowercase hex (base16) representation of the {@code TraceId} converted from the
* given two {@code long} values representing the lower and higher parts.
*
* <p>There is no restriction on the specified values, other than the already established validity
Expand Down
Loading