mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

lutoff
08.29.2006 44987b95edb778d125c87a960c72315c745bf279
Minor code improvement is the equals method
1 files modified
7 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/synchronization/UpdateMessage.java 7 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/synchronization/UpdateMessage.java
@@ -202,10 +202,17 @@
  @Override
  public boolean equals(Object obj)
  {
    if (obj != null)
    {
    if (obj.getClass() != this.getClass())
      return false;
    return changeNumber.equals(((UpdateMessage)obj).changeNumber);
  }
    else
    {
      return false;
    }
  }
  /**
   * {@inheritDoc}