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

gbellato
18.40.2008 89c803ce85e8a88d54544bfe35f24c9be34758a3
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ModifyMsg.java
@@ -235,4 +235,16 @@
  {
    return("MOD " + getDn() + " " + getChangeNumber());
  }
  /**
   * {@inheritDoc}
   */
  @Override
  public int size()
  {
    // The ModifyMsh can be very large when added or deleted attribute
    // values are very large. We therefore need to count the
    // whole encoded msg.
    return encodedMsg.length;
  }
}