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


##########
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:
   It's good that there is documentation, but the name is very confusing.



-- 
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