From 4818be26577e76b550219cde7278282f101dafa9 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 18 Apr 2016 09:35:03 +0000
Subject: [PATCH] Replaced uses of ConnectionUtils.getHost() and getPort() by ConnectionWrapper.getHostPort()
---
opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionUtils.java | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionUtils.java b/opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionUtils.java
index 952be21..f305c4a 100644
--- a/opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionUtils.java
+++ b/opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionUtils.java
@@ -398,17 +398,6 @@
}
/**
- * Returns the port number used in the provided InitialLdapContext.
- * @param ctx the context to analyze.
- * @return the port number used in the provided InitialLdapContext.
- */
- public static int getPort(InitialLdapContext ctx)
- {
- HostPort hp = getHostPort(ctx);
- return hp != null ? hp.getPort() : -1;
- }
-
- /**
* Returns the host port representation of the server to which this
* context is connected.
* @param ctx the context to analyze.
--
Gitblit v1.10.0