Fix comments after revert PR did actually more than just revert (#2755)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
This commit is contained in:
parent
ff5529a422
commit
50baa920d7
|
|
@ -60,11 +60,10 @@ public final class SpanId {
|
|||
|
||||
/**
|
||||
* Returns the lowercase hex (base16) representation of the {@code SpanId} converted from the
|
||||
* given bytes representation.
|
||||
* given bytes representation, or {@link #getInvalid()} if input is {@code null}.
|
||||
*
|
||||
* @param spanIdBytes the bytes (8-byte array) representation of the {@code SpanId}.
|
||||
* @return the lowercase hex (base16) representation of the {@code SpanId}.
|
||||
* @throws NullPointerException if {@code spanIdBytes} is null.
|
||||
* @throws IndexOutOfBoundsException if {@code spanIdBytes} too short.
|
||||
*/
|
||||
public static String fromBytes(byte[] spanIdBytes) {
|
||||
|
|
|
|||
|
|
@ -65,11 +65,10 @@ public final class TraceId {
|
|||
|
||||
/**
|
||||
* Returns the lowercase hex (base16) representation of the {@code TraceId} converted from the
|
||||
* given bytes representation.
|
||||
* given bytes representation, or {@link #getInvalid()} if input is {@code null}.
|
||||
*
|
||||
* @param traceIdBytes the bytes (16-byte array) representation of the {@code TraceId}.
|
||||
* @return the lowercase hex (base16) representation of the {@code TraceId}.
|
||||
* @throws NullPointerException if {@code traceIdBytes} is null.
|
||||
* @throws IndexOutOfBoundsException if {@code traceIdBytes} too short.
|
||||
*/
|
||||
public static String fromBytes(byte[] traceIdBytes) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue