ibessonov commented on code in PR #6161:
URL: https://github.com/apache/ignite-3/pull/6161#discussion_r2177538489


##########
modules/core/src/main/java/org/apache/ignite/internal/util/GridUnsafe.java:
##########
@@ -728,6 +728,8 @@ public static void putDouble(long addr, double val) {
      * @return Short value from byte array.
      */
     public static short getShortLittleEndian(byte[] arr, long off) {
+        assert IS_BIG_ENDIAN;

Review Comment:
   I agree, name is confusing, it's one of the reasons I made that mistake in 
the first place. I will fix these methods later in a separate PR to avoid 
further confusion, thank you!



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to