Skip to content

Commit 95a1658

Browse files
committed
chore: fix style issues
1 parent d8884f8 commit 95a1658

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/KeyPrefixContainerCodec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121

2222
import com.google.common.base.Preconditions;
2323
import com.google.common.primitives.Longs;
24+
import jakarta.annotation.Nonnull;
2425
import java.nio.ByteBuffer;
2526
import java.nio.CharBuffer;
2627
import java.nio.charset.CharacterCodingException;
2728
import java.nio.charset.CharsetDecoder;
28-
import jakarta.annotation.Nonnull;
2929
import org.apache.commons.lang3.ArrayUtils;
3030
import org.apache.hadoop.hdds.utils.db.Codec;
3131
import 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);

0 commit comments

Comments
 (0)