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

jvergara
21.31.2007 a091e85ec925fdb878303144f7b4f5e302e7c35f
opends/src/ads/org/opends/admin/ads/ADSContext.java
@@ -1982,7 +1982,7 @@
    String ben = backendName ;
    if (backendName == null)
    {
      ben = getBackendName() ;
      ben = getDefaultBackendName() ;
    }
    helper.createAdministrationSuffix(getDirContext(), ben,
        getDbName(), getImportTemp());
@@ -1995,10 +1995,14 @@
  private void removeAdministrationSuffix() throws ADSContextException
  {
    ADSContextHelper helper = new ADSContextHelper();
    helper.removeAdministrationSuffix(getDirContext(), getBackendName());
    helper.removeAdministrationSuffix(getDirContext(), getDefaultBackendName());
  }
  private static String getBackendName()
  /**
   * Returns the default backend name of the administration data.
   * @return the default backend name of the administration data.
   */
  public static String getDefaultBackendName()
  {
    return "adminRoot";
  }