From 72650d4cc41c64136d064967d7fec3726d850fee Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Thu, 14 Oct 2010 11:52:28 +0000
Subject: [PATCH] Multiple enhancements and bug fixes to the SDK (update from OpenDS by matthew_swift):

---
 sdk/src/org/opends/sdk/requests/SearchRequest.java |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sdk/src/org/opends/sdk/requests/SearchRequest.java b/sdk/src/org/opends/sdk/requests/SearchRequest.java
index 38e00dc..e0e965a 100644
--- a/sdk/src/org/opends/sdk/requests/SearchRequest.java
+++ b/sdk/src/org/opends/sdk/requests/SearchRequest.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Copyright 2009 Sun Microsystems, Inc.
+ *      Copyright 2009-2010 Sun Microsystems, Inc.
  */
 
 package org.opends.sdk.requests;
@@ -47,20 +47,20 @@
 public interface SearchRequest extends Request
 {
   /**
-   * Adds the provided attribute name to the list of attributes to be included
-   * with each entry that matches the search criteria. Attributes that are
-   * sub-types of listed attributes are implicitly included.
+   * Adds the provided attribute name(s) to the list of attributes to be
+   * included with each entry that matches the search criteria. Attributes that
+   * are sub-types of listed attributes are implicitly included.
    *
-   * @param attributeDescription
-   *          The name of the attribute to be included with each entry.
+   * @param attributeDescriptions
+   *          The name(s) of the attribute to be included with each entry.
    * @return This search request.
    * @throws UnsupportedOperationException
    *           If this search request does not permit attribute names to be
    *           added.
    * @throws NullPointerException
-   *           If {@code attributeDescription} was {@code null}.
+   *           If {@code attributeDescriptions} was {@code null}.
    */
-  SearchRequest addAttribute(String attributeDescription)
+  SearchRequest addAttribute(String... attributeDescriptions)
       throws UnsupportedOperationException, NullPointerException;
 
 

--
Gitblit v1.10.0