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

mrossign
30.30.2008 7ee84fd2ff21c5e25b9a234f974c08b49070fcaf
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/ReplicationMsg.java
@@ -101,10 +101,7 @@
  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();