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

Matthew Swift
04.46.2013 2fc933d03d5961fa75fc4a8ffef75d3ec3b125d6
opends/src/server/org/opends/server/replication/common/ServerState.java
@@ -43,7 +43,7 @@
 * For example, it is exchanged with the replication servers at connection
 * establishment time to communicate "which CSNs was last seen by a serverId".
 */
public class ServerState implements Iterable<Integer>
public class ServerState implements Iterable<CSN>
{
  /** Associates a serverId with a CSN. */
@@ -404,9 +404,9 @@
   * {@inheritDoc}
   */
  @Override
  public Iterator<Integer> iterator()
  public Iterator<CSN> iterator()
  {
    return serverIdToCSN.keySet().iterator();
    return serverIdToCSN.values().iterator();
  }
  /**