jihoonson commented on a change in pull request #9163: Improved the readability 
and fixed few java warnings
URL: https://github.com/apache/druid/pull/9163#discussion_r379845836
 
 

 ##########
 File path: 
sql/src/main/java/org/apache/druid/sql/calcite/rel/DruidConvention.java
 ##########
 @@ -73,7 +73,7 @@ public RelTraitDef getTraitDef()
   @Override
   public boolean satisfies(RelTrait trait)
   {
-    return trait == this;
+    return trait.equals(this);
 
 Review comment:
   Do we need this change? This class is singleton and equals() is not 
implemented for this class. 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to