From 763a75aeed1a7731ddb95b99496aa7c1bf206ed0 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 27 Feb 2015 00:31:10 +0000
Subject: [PATCH] OPENDJ-1855: Reformat and cleanup pluggable backend code: adjust visibility, findbugs, ucdetector, etc...

---
 opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java |   39 ---------------------------------------
 1 files changed, 0 insertions(+), 39 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java b/opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java
index 77f40b4..01b24a6 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/api/Backend.java
@@ -217,19 +217,6 @@
   public abstract void preloadEntryCache() throws UnsupportedOperationException;
 
   /**
-   * Indicates whether the data associated with this backend may be
-   * considered local (i.e., in a repository managed by the Directory
-   * Server) rather than remote (i.e., in an external repository
-   * accessed by the Directory Server but managed through some other
-   * means).
-   *
-   * @return  {@code true} if the data associated with this backend
-   *          may be considered local, or {@code false} if it is
-   *          remote.
-   */
-  public abstract boolean isLocal();
-
-  /**
    * Indicates whether search operations which target the specified
    * attribute in the indicated manner would be considered indexed
    * in this backend.  The operation should be considered indexed only
@@ -589,21 +576,6 @@
    */
   public abstract Set<String> getSupportedFeatures();
 
-  /**
-   * Indicates whether this backend supports the specified feature.
-   *
-   * @param  featureOID  The OID of the feature for which to make the
-   *                     determination.
-   *
-   * @return  {@code true} if this backend supports the feature with
-   *          the specified OID, or {@code false} if it does not.
-   */
-  public final boolean supportsFeature(String featureOID)
-  {
-    Set<String> supportedFeatures = getSupportedFeatures();
-    return supportedFeatures != null && supportedFeatures.contains(featureOID);
-  }
-
   /** Enumeration of optional backend operations. */
   public static enum BackendOperation
   {
@@ -919,17 +891,6 @@
   }
 
   /**
-   * Specifies the set of subordinate backends for this backend.
-   *
-   * @param  subordinateBackends  The set of subordinate backends for
-   *                              this backend.
-   */
-  public final synchronized void setSubordinateBackends(Backend<?>[] subordinateBackends)
-  {
-    this.subordinateBackends = subordinateBackends;
-  }
-
-  /**
    * Adds the provided backend to the set of subordinate backends for
    * this backend.
    *

--
Gitblit v1.10.0