From 4aa1cf5e26d49ab1273d6affc58a5ac70b870ec4 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 29 Mar 2013 14:55:14 +0000
Subject: [PATCH] Very minor code cleanup to requests and responses package:

---
 opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/requests/BindClientImpl.java |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/requests/BindClientImpl.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/requests/BindClientImpl.java
index 13e8ad0..84d0442 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/requests/BindClientImpl.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/requests/BindClientImpl.java
@@ -38,14 +38,6 @@
 class BindClientImpl implements BindClient, ConnectionSecurityLayer {
     private final GenericBindRequest nextBindRequest;
 
-    /**
-     * Creates a new abstract bind client. The next bind request will be a copy
-     * of the provided initial bind request which should be updated in
-     * subsequent bind requests forming part of this authentication.
-     *
-     * @param initialBindRequest
-     *            The initial bind request.
-     */
     BindClientImpl(final BindRequest initialBindRequest) {
         this.nextBindRequest =
                 new GenericBindRequestImpl(initialBindRequest.getName(), initialBindRequest
@@ -58,6 +50,7 @@
     /**
      * Default implementation does nothing.
      */
+    @Override
     public void dispose() {
         // Do nothing.
     }
@@ -65,6 +58,7 @@
     /**
      * Default implementation does nothing and always returns {@code true}.
      */
+    @Override
     public boolean evaluateResult(final BindResult result) throws ErrorResultException {
         return true;
     }
@@ -72,6 +66,7 @@
     /**
      * Default implementation always returns {@code null}.
      */
+    @Override
     public ConnectionSecurityLayer getConnectionSecurityLayer() {
         return null;
     }
@@ -79,6 +74,7 @@
     /**
      * Returns the next bind request.
      */
+    @Override
     public final GenericBindRequest nextBindRequest() {
         return nextBindRequest;
     }
@@ -86,6 +82,7 @@
     /**
      * Default implementation just returns the copy of the bytes.
      */
+    @Override
     public byte[] unwrap(final byte[] incoming, final int offset, final int len)
             throws ErrorResultException {
         final byte[] copy = new byte[len];
@@ -96,6 +93,7 @@
     /**
      * Default implementation just returns the copy of the bytes.
      */
+    @Override
     public byte[] wrap(final byte[] outgoing, final int offset, final int len)
             throws ErrorResultException {
         final byte[] copy = new byte[len];

--
Gitblit v1.10.0