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

Jean-Noel Rouvignac
06.19.2014 053bd871061fe5a094c1c2c6bea65811c038c622
opendj3-server-dev/src/server/org/opends/server/replication/protocol/WindowProbeMsg.java
@@ -58,9 +58,11 @@
   */
  public WindowProbeMsg(byte[] in) throws DataFormatException
  {
    // WindowProbeMsg LocalizableMessage only contains its type.
    // WindowProbeMsg only contains its type.
    if (in[0] != MSG_TYPE_WINDOW_PROBE)
      throw new DataFormatException("input is not a valid Window LocalizableMessage");
    {
      throw new DataFormatException("input is not a valid WindowProbeMsg");
    }
  }
  /**
@@ -69,7 +71,7 @@
  @Override
  public byte[] getBytes(short protocolVersion)
  {
    // WindowProbeMsg LocalizableMessage only contains its type.
    // WindowProbeMsg only contains its type.
    return new byte[] { MSG_TYPE_WINDOW_PROBE };
  }
}