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

Gaetan Boismal
04.18.2014 84e187d76943fe5bb6f9537968e351d36add94d8
opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/AuthRate.java
@@ -31,6 +31,7 @@
import static com.forgerock.opendj.ldap.tools.Utils.setDefaultPerfToolProperties;
import static com.forgerock.opendj.cli.Utils.filterExitCode;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
@@ -356,6 +357,18 @@
        // Nothing to do.
    }
    /**
     * Constructor to allow tests.
     *
     * @param out
     *            output stream of console application
     * @param err
     *            error stream of console application
     */
    AuthRate(PrintStream out, PrintStream err) {
        super(out, err);
    }
    /** {@inheritDoc} */
    @Override
    public boolean isInteractive() {
@@ -374,7 +387,7 @@
        return verbose.isPresent();
    }
    private int run(final String[] args) {
    int run(final String[] args) {
        // Create the command-line argument parser for use with this program.
        final LocalizableMessage toolDescription = INFO_AUTHRATE_TOOL_DESCRIPTION.get();
        final ArgumentParser argParser =