github-advanced-security[bot] commented on code in PR #15305:
URL: https://github.com/apache/druid/pull/15305#discussion_r1380606534


##########
server/src/main/java/org/apache/druid/metadata/SqlSegmentsMetadataQuery.java:
##########
@@ -468,4 +511,30 @@
 
     public abstract boolean apply(Interval a, Interval b);
   }
+
+  /**
+   * A thin wrapper that holds the iterator and its size, so
+   * callers won't have to make a copy of the iterator or exhaust it.
+   */
+  private static class IteratorWithCount<DataSegment>

Review Comment:
   ## Type variable hides another type
   
   Type [org.apache.druid.timeline.DataSegment](1) is hidden by this type 
variable.
   
   [Show more 
details](https://github.com/apache/druid/security/code-scanning/5957)



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