From 887e246785056b972a725b5ef8457980325216fb Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Fri, 22 Oct 2010 07:03:51 +0000
Subject: [PATCH] Sync commits from boli Added unmodifiable and copyOf response factories. Made LinkedHashMapEntry copy constructor perform a deep copy of attributes.

---
 sdk/src/org/opends/sdk/responses/CompareResultImpl.java |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/sdk/src/org/opends/sdk/responses/CompareResultImpl.java b/sdk/src/org/opends/sdk/responses/CompareResultImpl.java
index ef4331f..01dcf0c 100644
--- a/sdk/src/org/opends/sdk/responses/CompareResultImpl.java
+++ b/sdk/src/org/opends/sdk/responses/CompareResultImpl.java
@@ -56,6 +56,23 @@
 
 
   /**
+   * Creates a new compare result that is an exact copy of the provided
+   * result.
+   *
+   * @param compareResult
+   *          The compare result to be copied.
+   * @throws NullPointerException
+   *           If {@code compareResult} was {@code null} .
+   */
+  CompareResultImpl(final CompareResult compareResult)
+      throws NullPointerException
+  {
+    super(compareResult);
+  }
+
+
+
+  /**
    * {@inheritDoc}
    */
   public boolean matched()

--
Gitblit v1.10.0