jixuan1989 commented on a change in pull request #34: fix sonar 
URL: https://github.com/apache/incubator-iotdb/pull/34#discussion_r251872806
 
 

 ##########
 File path: 
tsfile/src/test/java/org/apache/iotdb/tsfile/encoding/bitpacking/IntPackerTest.java
 ##########
 @@ -48,12 +44,12 @@ public void test() {
         bb[idx++] = tb[j];
       }
     }
-    int res[] = new int[count * 8];
-    packer.unpackAllValues(bb, 0, bb.length, res);
+    Integer res[] = new Integer[count * 8];
 
 Review comment:
   why using Integer[] rather than int[]...

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to