You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/04/13 15:25:29 UTC
[GitHub] [incubator-doris] morningman commented on issue #3310: [Bug] Use
equals() method to judge whether "type" are equal
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org