From 6a60952f916a84257b0d2ac585a81fdf98d46c9a Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 03 Aug 2016 09:43:06 +0000
Subject: [PATCH] ConnectionWrapper: isSSL() => isLdaps(), isStartTLS() => isStartTls()

---
 opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionWrapper.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionWrapper.java b/opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionWrapper.java
index 43f28af..d0d0cb1 100644
--- a/opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionWrapper.java
+++ b/opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionWrapper.java
@@ -277,11 +277,11 @@
   }
 
   /**
-   * Returns whether this connection uses SSL.
+   * Returns whether this connection uses LDAPS.
    *
-   * @return {@code true} if this connection uses SSL {@code false} otherwise.
+   * @return {@code true} if this connection uses LDAPS, {@code false} otherwise.
    */
-  public boolean isSSL()
+  public boolean isLdaps()
   {
     return getConnectionType() == LDAPS;
   }
@@ -289,9 +289,9 @@
   /**
    * Returns whether this connection uses StartTLS.
    *
-   * @return {@code true} if this connection uses StartTLS {@code false} otherwise.
+   * @return {@code true} if this connection uses StartTLS, {@code false} otherwise.
    */
-  public boolean isStartTLS()
+  public boolean isStartTls()
   {
     return getConnectionType() == START_TLS;
   }
@@ -308,7 +308,7 @@
 
   private InitialLdapContext createAdministrativeContext0() throws NamingException
   {
-    final String ldapUrl = getLDAPUrl(getHostPort(), isSSL());
+    final String ldapUrl = getLDAPUrl(getHostPort(), isLdaps());
     final String bindDnStr = bindDn.toString();
     switch (connectionType)
     {

--
Gitblit v1.10.0