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/responses/BindResultImpl.java |   39 +++++++--------------------------------
 1 files changed, 7 insertions(+), 32 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/responses/BindResultImpl.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/responses/BindResultImpl.java
index a73ae77..8140db9 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/responses/BindResultImpl.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/responses/BindResultImpl.java
@@ -36,57 +36,32 @@
 final class BindResultImpl extends AbstractResultImpl<BindResult> implements BindResult {
     private ByteString credentials = null;
 
-    /**
-     * Creates a new bind result using the provided result code.
-     *
-     * @param resultCode
-     *            The result code.
-     * @throws NullPointerException
-     *             If {@code resultCode} was {@code null}.
-     */
-    BindResultImpl(final ResultCode resultCode) {
-        super(resultCode);
-    }
-
-    /**
-     * Creates a new bind result that is an exact copy of the provided result.
-     *
-     * @param bindResult
-     *            The bind result to be copied.
-     * @throws NullPointerException
-     *             If {@code bindResult} was {@code null} .
-     */
     BindResultImpl(final BindResult bindResult) {
         super(bindResult);
         this.credentials = bindResult.getServerSASLCredentials();
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    BindResultImpl(final ResultCode resultCode) {
+        super(resultCode);
+    }
+
+    @Override
     public ByteString getServerSASLCredentials() {
         return credentials;
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    @Override
     public boolean isSASLBindInProgress() {
         final ResultCode code = getResultCode();
         return code.equals(ResultCode.SASL_BIND_IN_PROGRESS);
     }
 
-    /**
-     * {@inheritDoc}
-     */
+    @Override
     public BindResult setServerSASLCredentials(final ByteString credentials) {
         this.credentials = credentials;
         return this;
     }
 
-    /**
-     * {@inheritDoc}
-     */
     @Override
     public String toString() {
         final StringBuilder builder = new StringBuilder();

--
Gitblit v1.10.0