You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by GitBox <gi...@apache.org> on 2019/01/24 07:43:10 UTC

[GitHub] jt2594838 commented on a change in pull request #25: Fix sonar

jt2594838 commented on a change in pull request #25: Fix sonar
URL: https://github.com/apache/incubator-iotdb/pull/25#discussion_r250492593
 
 

 ##########
 File path: tsfile/src/main/java/org/apache/iotdb/tsfile/write/chunk/ChunkBuffer.java
 ##########
 @@ -99,21 +99,18 @@ public int writePageHeaderAndDataIntoBuff(ByteBuffer data, int valueCount,
     }
     this.maxTimestamp = maxTimestamp;
     int uncompressedSize = data.remaining();
-    int maxSize = compressor.getMaxBytesForCompression(uncompressedSize);
+    compressor.getMaxBytesForCompression(uncompressedSize);
 
 Review comment:
   Why do you get something without a receiver?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services