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

lutoff
08.29.2006 b7ea2cebe97049fa78037db772a2912afc3dc62f
Minor code improvement is the equals method
1 files modified
7 ■■■■■ changed files
opends/src/server/org/opends/server/synchronization/UpdateMessage.java 7 ●●●●● patch | view | raw | blame | history
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}