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


##########
processing/src/main/java/org/apache/druid/segment/loading/DeepStorageSegmentConfig.java:
##########
@@ -40,34 +46,88 @@
  */
 public class DeepStorageSegmentConfig
 {
-  @JsonProperty
+  private static final Logger log = new Logger(DeepStorageSegmentConfig.class);
+
+  /**
+   * Filter that always returns {@code true} to suppress serialization of the 
deprecated {@code zip} field
+   * while allowing {@link org.apache.druid.guice.JsonConfigurator} to detect 
the field annotation.
+   */
+  public static class AlwaysFilter
+  {
+    @Override
+    public boolean equals(Object obj)

Review Comment:
   ## CodeQL / Equals method does not inspect argument type
   
   This 'equals()' method does not check argument type.
   
   [Show more 
details](https://github.com/apache/druid/security/code-scanning/12153)



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