Remove Memoized for byte arrays. Byte-arrays are not immutable (#2712)

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
This commit is contained in:
Bogdan Drutu 2021-02-04 14:22:06 -08:00 committed by GitHub
parent 9d8af6f236
commit 9bc7a71b20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 12 deletions

View File

@ -31,18 +31,6 @@ abstract class ImmutableSpanContext implements SpanContext {
traceIdHex, spanIdHex, traceFlags, traceState, remote);
}
@Override
@Memoized
public byte[] getTraceIdBytes() {
return SpanContext.super.getTraceIdBytes();
}
@Override
@Memoized
public byte[] getSpanIdBytes() {
return SpanContext.super.getSpanIdBytes();
}
@Override
@Memoized
public boolean isValid() {