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/Entries.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj-sdk/sdk/src/org/opends/sdk/Entries.java b/opendj-sdk/sdk/src/org/opends/sdk/Entries.java
index 55a17da..821aea3 100644
--- a/opendj-sdk/sdk/src/org/opends/sdk/Entries.java
+++ b/opendj-sdk/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