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


##########
server/src/main/java/org/apache/druid/server/DruidNode.java:
##########
@@ -313,14 +327,14 @@
       return false;
     }
     DruidNode druidNode = (DruidNode) o;
-    return port == druidNode.port &&
-           bindOnHost == druidNode.bindOnHost &&
-           plaintextPort == druidNode.plaintextPort &&
-           enablePlaintextPort == druidNode.enablePlaintextPort &&
-           tlsPort == druidNode.tlsPort &&
-           enableTlsPort == druidNode.enableTlsPort &&
-           Objects.equals(serviceName, druidNode.serviceName) &&
-           Objects.equals(host, druidNode.host);
+    return port == druidNode.port

Review Comment:
   ## Useless comparison test
   
   Test is always true.
   
   [Show more 
details](https://github.com/apache/druid/security/code-scanning/10306)



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