From f2160f4bd1c8ac67e5a86a6710d431e8932877f9 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 28 May 2010 11:47:51 +0000
Subject: [PATCH] Synchronize SDK on java.net with internal repository.
---
sdk/src/org/opends/sdk/responses/BindResultImpl.java | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/sdk/src/org/opends/sdk/responses/BindResultImpl.java b/sdk/src/org/opends/sdk/responses/BindResultImpl.java
index 26110bf..3a1fa84 100644
--- a/sdk/src/org/opends/sdk/responses/BindResultImpl.java
+++ b/sdk/src/org/opends/sdk/responses/BindResultImpl.java
@@ -37,8 +37,8 @@
/**
* Bind result implementation.
*/
-final class BindResultImpl extends AbstractResultImpl<BindResult>
- implements BindResult
+final class BindResultImpl extends AbstractResultImpl<BindResult> implements
+ BindResult
{
private ByteString credentials = null;
@@ -46,13 +46,13 @@
/**
* Creates a new bind result using the provided result code.
- *
+ *
* @param resultCode
* The result code.
* @throws NullPointerException
* If {@code resultCode} was {@code null}.
*/
- BindResultImpl(ResultCode resultCode) throws NullPointerException
+ BindResultImpl(final ResultCode resultCode) throws NullPointerException
{
super(resultCode);
}
@@ -83,7 +83,7 @@
/**
* {@inheritDoc}
*/
- public BindResult setServerSASLCredentials(ByteString credentials)
+ public BindResult setServerSASLCredentials(final ByteString credentials)
throws UnsupportedOperationException
{
this.credentials = credentials;
@@ -108,8 +108,8 @@
builder.append(", referrals=");
builder.append(getReferralURIs());
builder.append(", serverSASLCreds=");
- builder.append(getServerSASLCredentials() == null ? ByteString
- .empty() : getServerSASLCredentials());
+ builder.append(getServerSASLCredentials() == null ? ByteString.empty()
+ : getServerSASLCredentials());
builder.append(", controls=");
builder.append(getControls());
builder.append(")");
@@ -118,6 +118,7 @@
+ @Override
BindResult getThis()
{
return this;
--
Gitblit v1.10.0