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

gbellato
07.19.2009 ae408b6c09759f61754f3e7b39d5e5d6595c1fc4
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/DoneMsg.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 */
package org.opends.server.replication.protocol;
@@ -40,12 +40,12 @@
  /**
   * Creates a message.
   *
   * @param sender The sender server of this message.
   * @param destination The server or servers targetted by this message.
   * @param serverID The sender server of this message.
   * @param i The server or servers targetted by this message.
   */
  public DoneMsg(short sender, short destination)
  public DoneMsg(int serverID, int i)
  {
    super(sender, destination);
    super(serverID, i);
  }
  /**
@@ -67,13 +67,13 @@
      // sender
      int length = getNextLength(in, pos);
      String senderString = new String(in, pos, length, "UTF-8");
      this.senderID = Short.valueOf(senderString);
      this.senderID = Integer.valueOf(senderString);
      pos += length +1;
      // destination
      length = getNextLength(in, pos);
      String destinationString = new String(in, pos, length, "UTF-8");
      this.destination = Short.valueOf(destinationString);
      this.destination = Integer.valueOf(destinationString);
      pos += length +1;
    } catch (UnsupportedEncodingException e)