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

Violette Roche-Montane
10.32.2014 cc0fa41d9e024164cb7562c2047aa49ce7bc2af7
opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/LDAPSearch.java
@@ -95,9 +95,7 @@
    private class LDAPSearchResultHandler implements SearchResultHandler {
        private int entryCount = 0;
        /**
         * {@inheritDoc}
         */
        /** {@inheritDoc} */
        public boolean handleEntry(final SearchResultEntry entry) {
            entryCount++;
@@ -179,24 +177,18 @@
            return true;
        }
        /**
         * {@inheritDoc}
         */
        /** {@inheritDoc} */
        public boolean handleReference(final SearchResultReference reference) {
            println(LocalizableMessage.raw(reference.toString()));
            return true;
        }
        /**
         * {@inheritDoc}
         */
        /** {@inheritDoc} */
        public void handleErrorResult(ErrorResultException error) {
            // Ignore.
        }
        /**
         * {@inheritDoc}
         */
        /** {@inheritDoc} */
        public void handleResult(Result result) {
            // Ignore.
        }
@@ -222,9 +214,12 @@
        // Nothing to do.
    }
    /**
     * {@inheritDoc}
     */
    /** {@inheritDoc} */
    public boolean isInteractive() {
        return false;
    }
    /** {@inheritDoc} */
    @Override
    public boolean isVerbose() {
        return verbose.isPresent();