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

Jean-Noel Rouvignac
08.06.2015 b8c6b80da1cb6118167a934daa480eb381c59e0e
opendj-server-legacy/src/main/java/org/opends/server/replication/protocol/StopMsg.java
@@ -22,7 +22,7 @@
 *
 *
 *      Copyright 2009 Sun Microsystems, Inc.
 *      Portions copyright 2013-2014 ForgeRock AS.
 *      Portions copyright 2013-2015 ForgeRock AS.
 */
package org.opends.server.replication.protocol;
@@ -52,18 +52,16 @@
  {
    // First byte is the type
    if (in[0] != MSG_TYPE_STOP)
      throw new DataFormatException("input is not a valid Stop message: " +
        in[0]);
    {
      throw new DataFormatException("input is not a valid Stop message: " + in[0]);
    }
  }
  /** {@inheritDoc} */
  @Override
  public byte[] getBytes(short protocolVersion)
  {
    return new byte[]
      {
        MSG_TYPE_STOP
      };
    return new byte[] { MSG_TYPE_STOP };
  }
  /** {@inheritDoc} */