peterxcli commented on code in PR #9061:
URL: https://github.com/apache/ozone/pull/9061#discussion_r2380762459
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/KeyPrefixContainerCodec.java:
##########
Review Comment:
Could we delegate this to `fromCodecBuffer`?
sth like:
```java
@Override
public KeyPrefixContainer fromPersistedFormat(byte[] rawData) throws
CodecException {
try (CodecBuffer cb = CodecBuffer.wrap(rawData)) {
return fromCodecBuffer(cb);
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]