From b562bb7b23759b1ba50c4618eb35010054965226 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 21 Apr 2016 14:06:47 +0000
Subject: [PATCH] Fix warnings during build
---
opendj-server-legacy/src/main/java/org/opends/server/tools/LDAPAuthenticationHandler.java | 18 ++++--------------
1 files changed, 4 insertions(+), 14 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/tools/LDAPAuthenticationHandler.java b/opendj-server-legacy/src/main/java/org/opends/server/tools/LDAPAuthenticationHandler.java
index ab263ae..c366e7c 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/tools/LDAPAuthenticationHandler.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/tools/LDAPAuthenticationHandler.java
@@ -12,7 +12,7 @@
* information: "Portions Copyright [year] [name of copyright owner]".
*
* Copyright 2006-2009 Sun Microsystems, Inc.
- * Portions Copyright 2012-2015 ForgeRock AS.
+ * Portions Copyright 2012-2016 ForgeRock AS.
*/
package org.opends.server.tools;
@@ -57,18 +57,17 @@
import org.opends.server.protocols.ldap.ExtendedRequestProtocolOp;
import org.opends.server.protocols.ldap.ExtendedResponseProtocolOp;
import org.opends.server.protocols.ldap.LDAPMessage;
-import org.opends.server.types.LDAPException;
import org.opends.server.types.Control;
+import org.opends.server.types.LDAPException;
import org.opends.server.util.Base64;
+import static com.forgerock.opendj.cli.ArgumentConstants.*;
+
import static org.opends.messages.ToolMessages.*;
import static org.opends.server.protocols.ldap.LDAPConstants.*;
-import static com.forgerock.opendj.cli.ArgumentConstants.*;
import static org.opends.server.util.ServerConstants.*;
import static org.opends.server.util.StaticUtils.*;
-
-
/**
* This class provides a generic interface that LDAP clients can use to perform
* various kinds of authentication to the Directory Server. This handles both
@@ -1019,15 +1018,6 @@
message, bindResponse2.getMatchedDN(), null);
}
-
-
- /**
- * @param saslProperties
- * @param authID
- * @param name
- * @return
- * @throws ClientException
- */
private String getAuthID(Map<String, List<String>> saslProperties, String authID, String name) throws ClientException
{
List<String> values = saslProperties.get(name);
--
Gitblit v1.10.0