From 943a2d7d4cca6371830b33db941af3ec0431fb5c Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Sun, 26 Aug 2007 03:16:07 +0000
Subject: [PATCH] This commit includes all the code for the first version of the replication tools.  As they require further testing the command line associated with them has not been committed.

---
 opendj-sdk/opends/src/ads/org/opends/admin/ads/ADSContext.java |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/opendj-sdk/opends/src/ads/org/opends/admin/ads/ADSContext.java b/opendj-sdk/opends/src/ads/org/opends/admin/ads/ADSContext.java
index 629dbad..8c21966 100644
--- a/opendj-sdk/opends/src/ads/org/opends/admin/ads/ADSContext.java
+++ b/opendj-sdk/opends/src/ads/org/opends/admin/ads/ADSContext.java
@@ -338,7 +338,7 @@
   }
 
   private static HashMap<String, AdministratorProperty>
-    nameToAdminUSerProperty = null;
+    nameToAdminUserProperty = null;
 
   /**
    * Get a AdministratorProperty associated to a name.
@@ -347,17 +347,17 @@
    * @return The corresponding AdministratorProperty or null if name
    * doesn't match with an existing property.
    */
-  public static AdministratorProperty getAdminUSerPropFromName(String name)
+  public static AdministratorProperty getAdminUserPropFromName(String name)
   {
-    if (nameToAdminUSerProperty == null)
+    if (nameToAdminUserProperty == null)
     {
-      nameToAdminUSerProperty = new HashMap<String, AdministratorProperty>();
+      nameToAdminUserProperty = new HashMap<String, AdministratorProperty>();
       for (AdministratorProperty u : AdministratorProperty.values())
       {
-        nameToAdminUSerProperty.put(u.getAttributeName(), u);
+        nameToAdminUserProperty.put(u.getAttributeName(), u);
       }
     }
-    return nameToAdminUSerProperty.get(name);
+    return nameToAdminUserProperty.get(name);
   }
 
   // The context used to retrieve information
@@ -898,6 +898,8 @@
    * So this should not be called by the Java Web Start before being sure that
    * this jar is loaded.
    * @param backendName the backend name which will handle admin information.
+   * <CODE>null</CODE> to use the default backend name for the admin
+   * information.
    * @throws ADSContextException if something goes wrong.
    */
   public void createAdminData(String backendName) throws ADSContextException

--
Gitblit v1.10.0