From a3d5c5661dd11285ebafd742c1da6d10b91639f7 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Sun, 24 Oct 2010 20:47:53 +0000
Subject: [PATCH] Sync commits from OpenDS by matthew_swift

---
 opendj-sdk/sdk/src/org/opends/sdk/requests/UnmodifiableAddRequestImpl.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj-sdk/sdk/src/org/opends/sdk/requests/UnmodifiableAddRequestImpl.java b/opendj-sdk/sdk/src/org/opends/sdk/requests/UnmodifiableAddRequestImpl.java
index 5aac9d7..5e081d4 100644
--- a/opendj-sdk/sdk/src/org/opends/sdk/requests/UnmodifiableAddRequestImpl.java
+++ b/opendj-sdk/sdk/src/org/opends/sdk/requests/UnmodifiableAddRequestImpl.java
@@ -98,14 +98,14 @@
   }
 
   public Iterable<Attribute> getAllAttributes() {
-    return Iterables.unmodifiable(Iterables.transform(impl
+    return Iterables.unmodifiableIterable(Iterables.transformedIterable(impl
         .getAllAttributes(), UNMODIFIABLE_ATTRIBUTE_FUNCTION));
   }
 
   public Iterable<Attribute> getAllAttributes(
       AttributeDescription attributeDescription)
       throws NullPointerException {
-    return Iterables.unmodifiable(Iterables.transform(impl
+    return Iterables.unmodifiableIterable(Iterables.transformedIterable(impl
         .getAllAttributes(attributeDescription),
         UNMODIFIABLE_ATTRIBUTE_FUNCTION));
   }
@@ -114,7 +114,7 @@
       String attributeDescription)
       throws LocalizedIllegalArgumentException,
       NullPointerException {
-    return Iterables.unmodifiable(Iterables.transform(impl
+    return Iterables.unmodifiableIterable(Iterables.transformedIterable(impl
         .getAllAttributes(attributeDescription),
         UNMODIFIABLE_ATTRIBUTE_FUNCTION));
   }

--
Gitblit v1.10.0