public boolean equals()

in model/src/main/java/jetbrains/jetpad/model/property/PropertyChangeEvent.java [41:51]


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

    PropertyChangeEvent<?> that = (PropertyChangeEvent<?>) o;

    if (myNewValue != null ? !myNewValue.equals(that.myNewValue) : that.myNewValue != null) return false;
    if (myOldValue != null ? !myOldValue.equals(that.myOldValue) : that.myOldValue != null) return false;

    return true;
  }