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

neil_a_wilson
09.35.2006 75a1355c310f68cf93ab91a14e1f9cc8bf726cd6
opends/src/server/org/opends/server/tools/LDAPCompare.java
@@ -545,8 +545,17 @@
        }
      } else if(nextChar == '<')
      {
        String filePath = remainder.substring(1, remainder.length());
        attributeVal = LDAPToolUtils.readBytesFromFile(filePath);
        try
        {
          String filePath = remainder.substring(1, remainder.length());
          attributeVal = LDAPToolUtils.readBytesFromFile(filePath);
        }
        catch (Exception e)
        {
          int msgID = MSGID_COMPARE_CANNOT_READ_ASSERTION_VALUE_FROM_FILE;
          err.println(getMessage(msgID, String.valueOf(e)));
          return 1;
        }
      } else
      {
        attributeVal = remainder.getBytes();