From ebf96a30d0122d35e271bad15f1f31a0a9100842 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

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

diff --git a/sdk/src/org/opends/sdk/Entries.java b/sdk/src/org/opends/sdk/Entries.java
index 55a17da..821aea3 100644
--- a/sdk/src/org/opends/sdk/Entries.java
+++ b/sdk/src/org/opends/sdk/Entries.java
@@ -141,7 +141,7 @@
     @Override
     public Iterable<Attribute> getAllAttributes()
     {
-      return Iterables.unmodifiable(Iterables.transform(
+      return Iterables.unmodifiableIterable(Iterables.transformedIterable(
           entry.getAllAttributes(), UNMODIFIABLE_ATTRIBUTE_FUNCTION));
     }
 
@@ -151,7 +151,7 @@
     public Iterable<Attribute> getAllAttributes(
         final AttributeDescription attributeDescription)
     {
-      return Iterables.unmodifiable(Iterables.transform(
+      return Iterables.unmodifiableIterable(Iterables.transformedIterable(
           entry.getAllAttributes(attributeDescription),
           UNMODIFIABLE_ATTRIBUTE_FUNCTION));
     }
@@ -166,7 +166,7 @@
         final String attributeDescription)
         throws LocalizedIllegalArgumentException, NullPointerException
     {
-      return Iterables.unmodifiable(Iterables.transform(
+      return Iterables.unmodifiableIterable(Iterables.transformedIterable(
           entry.getAllAttributes(attributeDescription),
           UNMODIFIABLE_ATTRIBUTE_FUNCTION));
     }

--
Gitblit v1.10.0