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

mrossign
30.30.2008 2246119784cdfb6f882eba79ed96d2dd9f56f8f9
opends/src/server/org/opends/server/replication/protocol/ReplServerStartMsg.java
@@ -350,15 +350,13 @@
  public byte[] getBytes(short reqProtocolVersion)
    throws UnsupportedEncodingException
  {
    // Using current protocol version should normally not be done as we would
    // normally call the getBytes() method instead for that. So this check
    // for security
    // Of course, always support current protocol version
    if (reqProtocolVersion == ProtocolVersion.getCurrentVersion())
    {
      return getBytes();
    }
    // Supported older protocol versions
    switch (reqProtocolVersion)
    {
      case ProtocolVersion.REPLICATION_PROTOCOL_V1: