leventov commented on a change in pull request #7738: Fix some problems
reported by PVS-Studio
URL: https://github.com/apache/incubator-druid/pull/7738#discussion_r288427369
##########
File path:
extensions-core/histogram/src/main/java/org/apache/druid/query/aggregation/histogram/ApproximateHistogram.java
##########
@@ -419,7 +419,7 @@ protected void mergeInsert(final int mergeAt, int
insertAt, final float v, final
// use unused slot to shift array left or right and make space for the
new bin to insert
if (insertAt < unusedIndex) {
shiftRight(insertAt, unusedIndex);
- } else if (insertAt >= unusedIndex) {
+ } else { // insertAt >= unusedIndex
Review comment:
Deleted
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]