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

ludovicp
30.57.2010 7516be263f971494c06656f9a87337b19b11c9ac
opends/src/server/org/opends/server/tools/LDAPCompare.java
@@ -87,13 +87,13 @@
  // The message ID counter to use for requests.
  private AtomicInteger nextMessageID;
  private final AtomicInteger nextMessageID;
  // The print stream to use for standard error.
  private PrintStream err;
  private final PrintStream err;
  // The print stream to use for standard output.
  private PrintStream out;
  private final PrintStream out;
  // Tells whether the command-line is being executed in script friendly mode
  // or not.
@@ -225,7 +225,8 @@
        }
        if (!compareOptions.continueOnError())
        {
          throw new IOException(ae.getMessage());
          String message = LDAPToolUtils.getMessageForConnectionException(ae);
          throw new IOException(message, ae);
        }
        else
        {
@@ -991,7 +992,6 @@
      connection.connectToHost(bindDNValue, bindPasswordValue, nextMessageID,
          timeout);
      ldapCompare = new LDAPCompare(nextMessageID, out, err);
      ldapCompare.isScriptFriendly = scriptFriendlyArgument.isPresent();
      if(fileNameValue == null && dnStrings.isEmpty())