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

gbellato
07.19.2009 ae408b6c09759f61754f3e7b39d5e5d6595c1fc4
opendj-sdk/opends/src/server/org/opends/server/replication/common/RSInfo.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2008 Sun Microsystems, Inc.
 *      Copyright 2008-2009 Sun Microsystems, Inc.
 */
package org.opends.server.replication.common;
@@ -35,7 +35,7 @@
public class RSInfo
{
  // Server id of the RS
  private short id = -1;
  private int id = -1;
  // Generation Id of the RS
  private long generationId = -1;
  // Group id of the RS
@@ -48,7 +48,7 @@
   * @param generationId The generation id the RS is using
   * @param groupId RS group id
   */
  public RSInfo(short id, long generationId, byte groupId)
  public RSInfo(int id, long generationId, byte groupId)
  {
    this.id = id;
    this.generationId = generationId;
@@ -59,7 +59,7 @@
   * Get the RS id.
   * @return the RS id
   */
  public short getId()
  public int getId()
  {
    return id;
  }
@@ -130,9 +130,9 @@
    StringBuffer sb = new StringBuffer();
    sb.append("Id: ");
    sb.append(id);
    sb.append("\nGeneration id: ");
    sb.append(" Generation id: ");
    sb.append(generationId);
    sb.append("\nGroup id: ");
    sb.append(" Group id: ");
    sb.append(groupId);
    return sb.toString();
  }