leerho commented on code in PR #242:
URL: 
https://github.com/apache/datasketches-memory/pull/242#discussion_r1876822405


##########
src/test/java/org/apache/datasketches/memory/internal/BufferTest.java:
##########
@@ -234,14 +233,14 @@ public void checkPutGetArraysHeap() {
     for (int i = 0; i < n; i++) { arr[i] = i; }
 
     WritableBuffer wbuf = WritableMemory.allocate(n * 8).asWritableBuffer();
-    wbuf.putLongArray(arr, 0, n);
-    long[] arr2 = new long[n];
-    wbuf.resetPosition();
-    wbuf.getLongArray(arr2, 0, n);
-    for (int i = 0; i < n; i++) {
-      assertEquals(arr2[i], i);
+      wbuf.putLongArray(arr, 0, n);

Review Comment:
   This occurred in a bunch of files.  I went through all of them and I think 
it is OK now.   



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to