From 4fed0daa395855cd567621b0b38d405c9af254f4 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 26 Sep 2013 15:29:01 +0000
Subject: [PATCH] OPENDJ-1116 Introduce abstraction for the changelog DB

---
 opends/src/server/org/opends/server/replication/common/CSNGenerator.java |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/common/CSNGenerator.java b/opends/src/server/org/opends/server/replication/common/CSNGenerator.java
index 49bc844..d7d0e27 100644
--- a/opends/src/server/org/opends/server/replication/common/CSNGenerator.java
+++ b/opends/src/server/org/opends/server/replication/common/CSNGenerator.java
@@ -43,13 +43,16 @@
 
   /**
    * Create a new {@link CSNGenerator}.
-   * @param serverID2 id to use when creating {@link CSN}s.
-   * @param timestamp time to start with.
+   *
+   * @param serverId
+   *          id to use when creating {@link CSN}s.
+   * @param timestamp
+   *          time to start with.
    */
-  public CSNGenerator(int serverID2, long timestamp)
+  public CSNGenerator(int serverId, long timestamp)
   {
     this.lastTime = timestamp;
-    this.serverId = serverID2;
+    this.serverId = serverId;
     this.seqnum = 0;
   }
 
@@ -161,6 +164,6 @@
     for (int localServerId : state)
     {
       adjust(state.getCSN(localServerId));
-     }
+    }
   }
 }

--
Gitblit v1.10.0