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

jvergara
07.27.2009 8d6501ea01dce87aaf3900b99fcca29b2bfb6082
opends/src/server/org/opends/server/tools/LDAPCompare.java
@@ -659,6 +659,15 @@
      return 1;
    }
    // If trailing DNs were provided and the filename argument was also
    // provided, exit with an error.
    if (!dnStrings.isEmpty() && filename.isPresent())
    {
      err.println(wrapText(ERR_LDAPCOMPARE_FILENAME_AND_DNS.get(),
          MAX_LINE_WIDTH));
      return 1;
    }
    // parse the attribute string
    int idx = attributeString.indexOf(":");
    if(idx == -1)