public boolean equals()

in src/org/jetbrains/tfsIntegration/core/TFSChangeList.java [363:376]


  public boolean equals(final Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    final TFSChangeList that = (TFSChangeList)o;

    if (myRevisionNumber != that.myRevisionNumber) return false;
    if (myAuthor != null ? !myAuthor.equals(that.myAuthor) : that.myAuthor != null) return false;
    if (myDate != null ? !myDate.equals(that.myDate) : that.myDate != null) return false;
    if (myServerUri != null ? !myServerUri.equals(that.myServerUri) : that.myServerUri != null) return false;
    if (myWorkspaceName != null ? !myWorkspaceName.equals(that.myWorkspaceName) : that.myWorkspaceName != null) return false;

    return true;
  }