From a613b86c781c69a62ab4e7dc18df58d7f08b61b1 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Fri, 04 Apr 2014 13:54:53 +0000
Subject: [PATCH] OPENDJ-1343 Migrate dsconfig / OPENDJ-1387 - Code cleanup on LDAPConnectionConsoleInteraction.java.
---
opendj3-server-dev/src/quicksetup/org/opends/quicksetup/util/Utils.java | 34 ----------------------------------
1 files changed, 0 insertions(+), 34 deletions(-)
diff --git a/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/util/Utils.java b/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/util/Utils.java
index 94798ac..7b2f69f 100644
--- a/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/util/Utils.java
+++ b/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/util/Utils.java
@@ -364,26 +364,6 @@
}
/**
- * Returns <CODE>true</CODE> if the the provided string is a DN and
- * <CODE>false</CODE> otherwise.
- * @param dn the String we are analyzing.
- * @return <CODE>true</CODE> if the the provided string is a DN and
- * <CODE>false</CODE> otherwise.
- */
- public static boolean isDn(String dn)
- {
- boolean isDn = true;
- try
- {
- new LdapName(dn);
- } catch (Exception ex)
- {
- isDn = false;
- }
- return isDn;
- }
-
- /**
* Returns <CODE>true</CODE> if the the provided string is a configuration DN
* and <CODE>false</CODE> otherwise.
* @param dn the String we are analyzing.
@@ -734,20 +714,6 @@
}
/**
- * Returns the String that can be used to represent a given host name in a
- * LDAP URL.
- * This method must be used when we have IPv6 addresses (the address in the
- * LDAP URL must be enclosed with brackets).
- * @param host the host name.
- * @return the String that can be used to represent a given host name in a
- * LDAP URL.
- */
- public static String getHostNameForLdapUrl(String host)
- {
- return ConnectionUtils.getHostNameForLdapUrl(host);
- }
-
- /**
* Indicates whether we are in a web start installation or not.
*
* @return <CODE>true</CODE> if we are in a web start installation and
--
Gitblit v1.10.0