jt2594838 commented on a change in pull request #25: Fix sonar
URL: https://github.com/apache/incubator-iotdb/pull/25#discussion_r250520744
##########
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:
In that case, I would recommend the method renamed.
----------------------------------------------------------------
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