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

Jean-Noel Rouvignac
27.20.2015 6b47d8afcb80c74e8c29d2702a38e8948056b462
opendj3-server-dev/src/server/org/opends/server/api/Backend.java
@@ -29,6 +29,7 @@
import static org.opends.messages.BackendMessages.*;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Queue;
@@ -1066,7 +1067,7 @@
   * @return  {@code true} if the backend should handle operations for
   *          the provided entry, or {@code false} if it does not.
   */
  public static final boolean handlesEntry(DN entryDN, List<DN> baseDNs, List<DN> excludeDNs)
  public static final boolean handlesEntry(DN entryDN, Collection<DN> baseDNs, Collection<DN> excludeDNs)
  {
    for (DN baseDN : baseDNs)
    {
@@ -1078,7 +1079,7 @@
    return false;
  }
  private static boolean isExcluded(List<DN> excludeDNs, DN entryDN)
  private static boolean isExcluded(Collection<DN> excludeDNs, DN entryDN)
  {
    if (excludeDNs == null || excludeDNs.isEmpty())
    {