| | |
| | | * |
| | | * |
| | | * Copyright 2009 Sun Microsystems, Inc. |
| | | * Portions copyright 2012 ForgeRock AS. |
| | | */ |
| | | |
| | | package org.forgerock.opendj.ldap.controls; |
| | |
| | | * If {@code attributes} was {@code null}. |
| | | */ |
| | | public static PreReadRequestControl newControl(final boolean isCritical, |
| | | final Collection<String> attributes) throws NullPointerException |
| | | final Collection<String> attributes) |
| | | { |
| | | Validator.ensureNotNull(attributes); |
| | | |
| | |
| | | * If {@code attributes} was {@code null}. |
| | | */ |
| | | public static PreReadRequestControl newControl(final boolean isCritical, |
| | | final String... attributes) throws NullPointerException |
| | | final String... attributes) |
| | | { |
| | | Validator.ensureNotNull((Object) attributes); |
| | | |