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

jvergara
07.27.2009 ffa1e3ba39812d1f3a2a4a468bcf93e781e7073e
opendj-sdk/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)