File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2121
2222import com .google .common .base .Preconditions ;
2323import com .google .common .primitives .Longs ;
24+ import jakarta .annotation .Nonnull ;
2425import java .nio .ByteBuffer ;
2526import java .nio .CharBuffer ;
2627import java .nio .charset .CharacterCodingException ;
2728import java .nio .charset .CharsetDecoder ;
28- import jakarta .annotation .Nonnull ;
2929import org .apache .commons .lang3 .ArrayUtils ;
3030import org .apache .hadoop .hdds .utils .db .Codec ;
3131import org .apache .hadoop .hdds .utils .db .CodecBuffer ;
@@ -62,7 +62,7 @@ public boolean supportCodecBuffer() {
6262 }
6363
6464 @ Override
65- public CodecBuffer toCodecBuffer (@ Nonnull KeyPrefixContainer object , CodecBuffer .Allocator allocator ) throws CodecException {
65+ public CodecBuffer toCodecBuffer (@ Nonnull KeyPrefixContainer object , CodecBuffer .Allocator allocator ) {
6666 Preconditions .checkNotNull (object , "Null object can't be converted to CodecBuffer." );
6767
6868 final byte [] keyPrefixBytes = object .getKeyPrefix ().getBytes (UTF_8 );
You can’t perform that action at this time.
0 commit comments