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/requests/UnmodifiableAddRequestImpl.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sdk/src/org/opends/sdk/requests/UnmodifiableAddRequestImpl.java b/sdk/src/org/opends/sdk/requests/UnmodifiableAddRequestImpl.java
index 5aac9d7..5e081d4 100644
--- a/sdk/src/org/opends/sdk/requests/UnmodifiableAddRequestImpl.java
+++ b/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