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

 ##########
 File path: 
extensions-core/google-extensions/src/main/java/org/apache/druid/storage/google/GoogleDataSegmentKiller.java
 ##########
 @@ -52,7 +52,7 @@ public void kill(DataSegment segment) throws 
SegmentLoadingException
     Map<String, Object> loadSpec = segment.getLoadSpec();
     final String bucket = MapUtils.getString(loadSpec, "bucket");
     final String indexPath = MapUtils.getString(loadSpec, "path");
-    final String descriptorPath = indexPath.substring(0, 
indexPath.lastIndexOf('/')) + "/descriptor.json";
+    final String descriptorPath = indexPath.substring(0, 
indexPath.lastIndexOf('/')) + "/descriptor.json"; //-V6009
 
 Review comment:
   What does `-V6009` mean?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to