From 4ba67b612ac446dd8e0a83689983499491324eef Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Mon, 11 Feb 2013 14:13:31 +0000
Subject: [PATCH] Fix OPENDJ-691: Implement add/create support
---
opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LDAP.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LDAP.java b/opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LDAP.java
index 0c564aa..843e895 100644
--- a/opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LDAP.java
+++ b/opendj3/opendj-rest2ldap/src/main/java/org/forgerock/opendj/rest2ldap/Rest2LDAP.java
@@ -359,13 +359,13 @@
}
public static AttributeMapper mapLDAPConstant(final AttributeDescription attribute,
- final Object attributeValue) {
- return new LDAPConstantAttributeMapper(attribute, attributeValue);
+ final Object... attributeValues) {
+ return new LDAPConstantAttributeMapper(attribute, attributeValues);
}
public static AttributeMapper mapLDAPConstant(final String attribute,
- final Object attributeValue) {
- return mapLDAPConstant(AttributeDescription.valueOf(attribute), attributeValue);
+ final Object... attributeValues) {
+ return mapLDAPConstant(AttributeDescription.valueOf(attribute), attributeValues);
}
private static AttributeMapper mapOf(final Collection<AttributeMapper> mappers) {
--
Gitblit v1.10.0