| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2009 Sun Microsystems, Inc. |
| | | * Copyright 2009-2010 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.sdk.controls; |
| | |
| | | * rather than an Entry. Can we assume that the response will not contain |
| | | * a nested set of controls? |
| | | */ |
| | | return new PreReadResponseControl(control.isCritical(), Types |
| | | return new PreReadResponseControl(control.isCritical(), Entries |
| | | .unmodifiableEntry(searchEntry)); |
| | | } |
| | | |
| | |
| | | * SearchResultEntry rather than an Entry. Can we assume that the response |
| | | * will not contain a nested set of controls? |
| | | */ |
| | | return new PreReadResponseControl(false, Types.unmodifiableEntry(entry)); |
| | | return new PreReadResponseControl(false, Entries.unmodifiableEntry(entry)); |
| | | } |
| | | |
| | | |