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:
Bogdan Drutu 2021-02-08 12:37:17 -08:00 committed by GitHub
parent ff5529a422
commit 50baa920d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -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) {

View File

@ -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) {