public boolean equals()

in dotTrace-server/src/main/java/jetbrains/buildServer/dotTrace/server/Statistic.java [62:75]


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

    final Statistic statistic = (Statistic)o;

    if (!getMeasuredTotalTime().equals(statistic.getMeasuredTotalTime())) return false;
    if (!getMeasuredOwnTime().equals(statistic.getMeasuredOwnTime())) return false;
    if (!getTotalTimeThreshold().equals(statistic.getTotalTimeThreshold())) return false;
    if (!getOwnTimeThreshold().equals(statistic.getOwnTimeThreshold())) return false;
    if (getPrevTotalTime() != null ? !getPrevTotalTime().equals(statistic.getPrevTotalTime()) : statistic.getPrevTotalTime() != null) return false;
    return !(getPrevOwnTime() != null ? !getPrevOwnTime().equals(statistic.getPrevOwnTime()) : statistic.getPrevOwnTime() != null);

  }