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

Jean-Noel Rouvignac
06.37.2014 34b97b2d33a1196d3b22bd0ade1e758be613f7f3
opendj3-server-dev/src/server/org/opends/server/replication/protocol/ModifyMsg.java
@@ -177,7 +177,7 @@
  public byte[] getBytes_V1()
  {
    final ByteArrayBuilder builder = encodeHeader_V1(MSG_TYPE_MODIFY_V1);
    builder.append(encodedMods);
    builder.appendByteArray(encodedMods);
    return builder.toByteArray();
  }
@@ -187,7 +187,7 @@
  {
    final ByteArrayBuilder builder =
        encodeHeader(MSG_TYPE_MODIFY, ProtocolVersion.REPLICATION_PROTOCOL_V3);
    builder.append(encodedMods);
    builder.appendByteArray(encodedMods);
    return builder.toByteArray();
  }
@@ -197,10 +197,10 @@
  {
    final ByteArrayBuilder builder =
        encodeHeader(MSG_TYPE_MODIFY, protocolVersion);
    builder.appendUTF8(encodedMods.length);
    builder.append(encodedMods);
    builder.appendUTF8(encodedEclIncludes.length);
    builder.append(encodedEclIncludes);
    builder.appendIntUTF8(encodedMods.length);
    builder.appendByteArray(encodedMods);
    builder.appendIntUTF8(encodedEclIncludes.length);
    builder.appendByteArray(encodedEclIncludes);
    return builder.toByteArray();
  }