flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tobwiens <...@git.apache.org>
Subject [GitHub] incubator-flink pull request: FIX-FLINK-888-swapValues() for Tuple...
Date Fri, 27 Jun 2014 12:25:44 GMT
Github user tobwiens commented on the pull request:

    https://github.com/apache/incubator-flink/pull/44#issuecomment-47337619
  
    I want to assert when they are not the same. 
    And when I use: failNotEquals(java.lang.String message,java.lang.Object expected,java.lang.Object
actual)
    It uses Object's equals method.
    
    I could write:
    // assert if NOT equal
    Assert.assertTrue(!swappedTuple2.f1.equals(fullTuple2.f0)) to make it more consistent
and more obvious?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message