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/AbstractResponseImpl.java | 24 ------------------------
1 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/responses/AbstractResponseImpl.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/responses/AbstractResponseImpl.java
index 04409f0..5954cdd 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/responses/AbstractResponseImpl.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/responses/AbstractResponseImpl.java
@@ -60,22 +60,10 @@
private final List<Control> controls = new LinkedList<Control>();
- /**
- * Creates a new modifiable response implementation.
- */
AbstractResponseImpl() {
// No implementation required.
}
- /**
- * Creates a new abstract response that is an exact copy of the provided
- * response.
- *
- * @param response
- * The response to be copied.
- * @throws NullPointerException
- * If {@code response} was {@code null} .
- */
AbstractResponseImpl(final Response response) {
Validator.ensureNotNull(response);
for (final Control control : response.getControls()) {
@@ -84,9 +72,6 @@
}
}
- /**
- * {@inheritDoc}
- */
@Override
public final S addControl(final Control control) {
Validator.ensureNotNull(control);
@@ -94,17 +79,11 @@
return getThis();
}
- /**
- * {@inheritDoc}
- */
@Override
public boolean containsControl(final String oid) {
return getControl(controls, oid) != null;
}
- /**
- * {@inheritDoc}
- */
@Override
public final <C extends Control> C getControl(final ControlDecoder<C> decoder,
final DecodeOptions options) throws DecodeException {
@@ -113,9 +92,6 @@
return control != null ? decoder.decodeControl(control, options) : null;
}
- /**
- * {@inheritDoc}
- */
@Override
public final List<Control> getControls() {
return controls;
--
Gitblit v1.10.0