github-code-scanning[bot] commented on code in PR #14507:
URL: https://github.com/apache/druid/pull/14507#discussion_r1277117404


##########
indexing-service/src/main/java/org/apache/druid/indexing/common/task/IndexTask.java:
##########
@@ -1199,6 +1201,25 @@
       return inputSource;
     }
 
+    public InputSource getNonNullInputSource()
+    {
+      return Preconditions.checkNotNull(inputSource, "inputSource");
+    }
+
+    public InputSource getNonNullInputSource(TaskToolbox toolbox)
+    {
+      Preconditions.checkNotNull(inputSource, "inputSource");
+      if (inputSourceWithToolbox.get() == null) {
+        final InputSource theInputSource;

Review Comment:
   ## Unread local variable
   
   Variable 'InputSource theInputSource' is never read.
   
   [Show more 
details](https://github.com/apache/druid/security/code-scanning/5299)



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