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/AbandonRequestImpl.java | 32 ++++++--------------------------
1 files changed, 6 insertions(+), 26 deletions(-)
diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/requests/AbandonRequestImpl.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/requests/AbandonRequestImpl.java
index a8f0915..6d36b64 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/requests/AbandonRequestImpl.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/requests/AbandonRequestImpl.java
@@ -32,48 +32,28 @@
*/
final class AbandonRequestImpl extends AbstractRequestImpl<AbandonRequest> implements
AbandonRequest {
-
private int requestID;
- /**
- * Creates a new abandon request using the provided message ID.
- *
- * @param requestID
- * The message ID of the request to be abandoned.
- */
- AbandonRequestImpl(final int requestID) {
- this.requestID = requestID;
- }
-
- /**
- * Creates a new abandon request that is an exact copy of the provided
- * request.
- *
- * @param abandonRequest
- * The abandon request to be copied.
- * @throws NullPointerException
- * If {@code abandonRequest} was {@code null} .
- */
AbandonRequestImpl(final AbandonRequest abandonRequest) {
super(abandonRequest);
this.requestID = abandonRequest.getRequestID();
}
+ AbandonRequestImpl(final int requestID) {
+ this.requestID = requestID;
+ }
+
+ @Override
public int getRequestID() {
return requestID;
}
- /**
- * {@inheritDoc}
- */
+ @Override
public AbandonRequest setRequestID(final int id) {
this.requestID = id;
return this;
}
- /**
- * {@inheritDoc}
- */
@Override
public String toString() {
final StringBuilder builder = new StringBuilder();
--
Gitblit v1.10.0