Github user zentol commented on the pull request:

    https://github.com/apache/flink/pull/1024#issuecomment-131512254
  
    i don't think these statements are equivalent.
    
    Assume that this.state == null and that.state != null.
    
    In the original version we evaluate that.state == null, which is False, so 
the overall result is False.
    
    In your version we would evaluate (this.state == null || 
this.state.equals(that.state)), which is True, making the overall result true.
    
    Unless i made a mistake, -1.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to