clintropolis commented on a change in pull request #9938:
URL: https://github.com/apache/druid/pull/9938#discussion_r445968955



##########
File path: 
extensions-contrib/influxdb-emitter/src/main/java/org/apache/druid/emitter/influxdb/InfluxdbEmitterConfig.java
##########
@@ -130,6 +159,10 @@ public int hashCode()
   {
     int result = getHostname().hashCode();
     result = 31 * result + getPort();
+    result = 31 * result + getProtocol().hashCode();

Review comment:
       Is there any reason not to use
   ```
       return Objects.hash(
   return Objects.hash(
           hostname,
           port,
   ...
   ```




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



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

Reply via email to