From 0c830d1e70d669a3cbab8a9de424f96e2b6d8982 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 27 Jun 2013 13:58:43 +0000
Subject: [PATCH] *.java: More javadoc/code cleanup. Switched (excluded)serviceIDs/excludedDomains from List to Set.

---
 opends/src/server/org/opends/server/replication/server/ReplicationServer.java |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/server/ReplicationServer.java b/opends/src/server/org/opends/server/replication/server/ReplicationServer.java
index 6602448..bbe51c3 100644
--- a/opends/src/server/org/opends/server/replication/server/ReplicationServer.java
+++ b/opends/src/server/org/opends/server/replication/server/ReplicationServer.java
@@ -1643,7 +1643,7 @@
    * @param excludedServiceIDs the provided list of serviceIDs excluded from
    *                          the computation of eligibleCN.
    */
-  public void disableEligibility(List<String> excludedServiceIDs)
+  public void disableEligibility(Set<String> excludedServiceIDs)
   {
     this.excludedServiceIDs = excludedServiceIDs;
   }
@@ -1788,10 +1788,8 @@
    * @return                       The first and last draftCN.
    * @throws DirectoryException    When it happens.
    */
-  public int[] getECLDraftCNLimits(
-      ChangeNumber crossDomainEligibleCN,
-      ArrayList<String> excludedServiceIDs)
-  throws DirectoryException
+  public int[] getECLDraftCNLimits(ChangeNumber crossDomainEligibleCN,
+      Set<String> excludedServiceIDs) throws DirectoryException
   {
     /* The content of the DraftCNdb depends on the SEARCH operations done before
      * requesting the DraftCN. If no operations, DraftCNdb is empty.
@@ -1914,8 +1912,7 @@
    * @param excludedServiceIDs The list of serviceIDs excluded from ECL.
    * @return the last cookie value.
    */
-  public MultiDomainServerState getLastECLCookie(
-    List<String> excludedServiceIDs)
+  public MultiDomainServerState getLastECLCookie(Set<String> excludedServiceIDs)
   {
     disableEligibility(excludedServiceIDs);
 

--
Gitblit v1.10.0