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

Jean-Noel Rouvignac
16.59.2015 b0a00d248d3f6ae91627490e7a177d9ad5184331
opendj-server-legacy/src/main/java/org/opends/server/schema/GuideSyntax.java
@@ -242,15 +242,9 @@
      return false;
    }
    if (! isValidSchemaElement(ocName, 0, ocLength, invalidReason))
    {
      return false;
    }
    // The rest of the value must be the criteria.
    return criteriaIsValid(valueStr.substring(sharpPos+1), valueStr,
            invalidReason);
    return isValidSchemaElement(ocName, 0, ocLength, invalidReason)
        // The rest of the value must be the criteria.
        && criteriaIsValid(valueStr.substring(sharpPos+1), valueStr, invalidReason);
  }