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

Jean-Noël Rouvignac
21.10.2016 f62cb515759e02706f08ba467c6e980f4658b21b
LDAPDriver.java: add a comment to clarify what the code is doing
1 files modified
3 ■■■■ changed files
opendj-config/src/main/java/org/forgerock/opendj/config/client/ldap/LDAPDriver.java 3 ●●●● patch | view | raw | blame | history
opendj-config/src/main/java/org/forgerock/opendj/config/client/ldap/LDAPDriver.java
@@ -12,7 +12,7 @@
 * information: "Portions Copyright [year] [name of copyright owner]".
 *
 * Copyright 2008-2009 Sun Microsystems, Inc.
 * Portions Copyright 2013-2015 ForgeRock AS.
 * Portions Copyright 2013-2016 ForgeRock AS.
 */
package org.forgerock.opendj.config.client.ldap;
@@ -404,6 +404,7 @@
     */
    boolean entryExists(DN dn) throws LdapException {
        try {
            // request a non existent attribute name so the search returns as little data as possible
            connection.readEntry(dn, "1.1");
            return true;
        } catch (EntryNotFoundException e) {