morningman commented on issue #3310: [Bug] Use equals() method to judge whether "type" are equal URL: https://github.com/apache/incubator-doris/pull/3310#issuecomment-612947145 > @morningman > I think we should replace all `==` compare with `equals`. `==` returns true only when the two sides refer the same object. I think all the type compare means to test if they are the same type, not the same object. I agree. I am just puzzled why they are not the same object. I think they should be....
---------------------------------------------------------------- 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...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org