anton-vinogradov commented on code in PR #11089:
URL: https://github.com/apache/ignite/pull/11089#discussion_r1423810261
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/wal/ByteBufferExpander.java:
##########
@@ -33,10 +33,10 @@ public class ByteBufferExpander implements AutoCloseable {
* @param order Byte order.
*/
public ByteBufferExpander(int initSize, ByteOrder order) {
- ByteBuffer buffer = GridUnsafe.allocateBuffer(initSize);
- buffer.order(order);
+ ByteBuffer buf0 = GridUnsafe.allocateBuffer(initSize);
Review Comment:
Just use the `buf` directly.
--
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]