mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
22.03.2010 61960107e0dd01b4d5ee1143c7b0d3ac846764df
opendj-sdk/sdk/src/org/opends/sdk/responses/SearchResultEntryImpl.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2009-2010 Sun Microsystems, Inc.
 *      Copyright 2010 Sun Microsystems, Inc.
 */
package org.opends.sdk.responses;
@@ -58,7 +58,7 @@
   * @throws NullPointerException
   *           If {@code entry} was {@code null} .
   */
  public SearchResultEntryImpl(final Entry entry) throws NullPointerException
  SearchResultEntryImpl(final Entry entry) throws NullPointerException
  {
    this.entry = entry;
  }
@@ -66,6 +66,24 @@
  /**
   * Creates a new search result entry that is an exact copy of the provided
   * result.
   *
   * @param searchResultEntry
   *          The search result entry to be copied.
   * @throws NullPointerException
   *           If {@code searchResultEntry} was {@code null} .
   */
  SearchResultEntryImpl(final SearchResultEntry searchResultEntry)
      throws NullPointerException
  {
    super(searchResultEntry);
    this.entry = new LinkedHashMapEntry(searchResultEntry);
  }
  /**
   * {@inheritDoc}
   */
  public boolean addAttribute(final Attribute attribute)