From 6638c2755466ca601450700d5a39f390f23d4781 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 23 Mar 2015 14:44:05 +0000
Subject: [PATCH] AutoRefactored javadocs
---
opendj-server-legacy/src/main/java/org/opends/admin/ads/ADSContext.java | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/admin/ads/ADSContext.java b/opendj-server-legacy/src/main/java/org/opends/admin/ads/ADSContext.java
index 4dfad8d..11fda9b 100644
--- a/opendj-server-legacy/src/main/java/org/opends/admin/ads/ADSContext.java
+++ b/opendj-server-legacy/src/main/java/org/opends/admin/ads/ADSContext.java
@@ -400,7 +400,7 @@
return nameToAdminUserProperty.get(name);
}
- // The context used to retrieve information
+ /** The context used to retrieve information. */
private final InitialLdapContext dirContext;
@@ -1176,7 +1176,7 @@
createAdminDataContainers();
}
- // Create container entries.
+ /** Create container entries. */
private void createAdminDataContainers() throws ADSContextException
{
// Create the DIT below the administration suffix
@@ -2226,14 +2226,11 @@
*/
private static String getRdn(String rdnName) throws ADSContextException
{
- CompositeName nameObj;
- String rdn;
- //
// Transform the JNDI name into a RDN string
- //
try {
- nameObj = new CompositeName(rdnName);
- rdn = nameObj.get(0);
+ CompositeName nameObj = new CompositeName(rdnName);
+ String rdn = nameObj.get(0);
+ return rdn;
}
catch (InvalidNameException x)
{
@@ -2241,7 +2238,6 @@
throw new ADSContextException(
ADSContextException.ErrorType.ERROR_UNEXPECTED, x);
}
- return rdn;
}
/**
--
Gitblit v1.10.0