github-code-scanning[bot] commented on code in PR #14127:
URL: https://github.com/apache/druid/pull/14127#discussion_r1172131268
##########
indexing-service/src/main/java/org/apache/druid/indexing/common/task/CompactionTask.java:
##########
@@ -415,6 +415,7 @@
public boolean isReady(TaskActionClient taskActionClient) throws Exception
{
final List<DataSegment> segments =
segmentProvider.findSegments(taskActionClient);
+ final Interval interval =
JodaUtils.umbrellaInterval(Iterables.transform(segments,
DataSegment::getInterval));
Review Comment:
## Unread local variable
Variable 'Interval interval' is never read.
[Show more
details](https://github.com/apache/druid/security/code-scanning/4851)
--
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]