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

Matthew Swift
26.18.2015 666f3a315c30738141341a4718381a730e344a96
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ID2Count.java
@@ -170,7 +170,7 @@
  /**
   * Get the counter value for the specified key
   * @param txn The transaction
   * @param txn storage transaction
   * @param entryID The entryID identifying to the counter
   * @return Value of the counter. 0 if no counter is associated yet.
   */
@@ -181,7 +181,7 @@
      cursor.positionToKeyOrNext(getKeyFromEntryID(entryID));
      while (cursor.isDefined() && cursor.getKey().equals(entryID))
      {
        counterValue += cursor.getValue().longValue();
        counterValue += cursor.getValue();
        cursor.next();
      }
    }
@@ -200,7 +200,7 @@
  /**
   * Get the total counter value. The total counter maintain the sum of all
   * the counter contained in this tree.
   * @param txn The transaction
   * @param txn storage transaction
   * @return Sum of all the counter contained in this tree
   */
  long getTotalCount(ReadableTransaction txn)