Fill {@link #forbiddenIdEndElements}

@see #notAllowedEnd(String)
482291
protected void setupForbiddenEndElements() {
		forbiddenIdEndElements.put(THREAD_SUBJECT, THREAD_SUBJECT);
		forbiddenIdEndElements.put(THREAD_PARENT, THREAD_PARENT);
		forbiddenIdEndElements.put(THREAD_ANCESTOR, THREAD_ANCESTOR);
		forbiddenIdEndElements.put(THREAD_PAGE, THREAD_PAGE);
		forbiddenIdEndElements.put(THREAD_ID, THREAD_ID);
		forbiddenIdEndElements.put(THREAD_SUMMARY_PAGE, THREAD_SUMMARY_PAGE);
		forbiddenIdEndElements.put(THREAD_AUTHOR, THREAD_AUTHOR);
		forbiddenIdEndElements.put(THREAD_EDIT_STATUS, THREAD_EDIT_STATUS);
		forbiddenIdEndElements.put(THREAD_TYPE, THREAD_TYPE);
		forbiddenIdEndElements.put(COMMENT, COMMENT);
		forbiddenIdEndElements.put(CONTRIBUTOR, CONTRIBUTOR);
		forbiddenIdEndElements.put(ID, ID);
		forbiddenIdEndElements.put(IP, IP);
		forbiddenIdEndElements.put(MINOR, MINOR);
		forbiddenIdEndElements.put(PAGE, PAGE);
		forbiddenIdEndElements.put(RESTRICTIONS, RESTRICTIONS);
		forbiddenIdEndElements.put(REVISION, REVISION);
		forbiddenIdEndElements.put(TEXT, TEXT);
		forbiddenIdEndElements.put(TIMESTAMP, TIMESTAMP);
		forbiddenIdEndElements.put(TITLE, TITLE);
		forbiddenIdEndElements.put(USERNAME, USERNAME);
	}
428279
@NotNull
    public OptionalInt filterNot(@NotNull IntPredicate predicate) {
        return filter(IntPredicate.Util.negate(predicate));
    }
765163
@Override
    public void endElement(String uri, String localName, String qName) throws SAXException {
        if (HINT.equals(qName) && rule != null) {
            hintRules.add(rule);
            rule = null;
        }
    }
777951
public void setAllowedMethods(RequestTypeEnum... theAllowedMethods) {
		if (theAllowedMethods == null || theAllowedMethods.length == 0) {
			myAllowedMethods = null;
		} else {
			myAllowedMethods = new LinkedHashSet<RequestTypeEnum>();
			for (RequestTypeEnum next : theAllowedMethods) {
				myAllowedMethods.add(next);
			}
		}
		updateAllowHeader();
	}
707238
private JSType restrictByUndefined(JSType type) {
    // If not voidable, there's nothing to do. If not nullable then the easiest
    // thing is to simply remove both null and undefined. If nullable, then add
    // null back into the union after removing null and undefined.
    if (!type.isVoidable()) {
      return type;
    }
    JSType restricted = type.restrictByNotNullOrUndefined();
    if (type.isNullable()) {
      JSType nullType = registry.getNativeType(JSTypeNative.NULL_TYPE);
      return registry.createUnionType(ImmutableList.of(restricted, nullType));
    }
    // The bottom type cannot appear in a jsdoc
    return restricted.isEmptyType() ? type : restricted;
  }
119427
public void setAllowedValues(java.util.Collection<String> allowedValues) {
        if (allowedValues == null) {
            this.allowedValues = null;
            return;
        }

        this.allowedValues = new java.util.ArrayList<String>(allowedValues);
    }
311007
@Override
    public void endElement(String uri, String name, String qName) {
	setContent(content.toString().trim());
	content = new StringBuilder();
	inside = "";
	if (qName.equals("function")) endFunction();
	else if (qName.equals("argument")) endArg();
	else if (qName.equals("return")) endReturn();
	else if (qName.equals("bundle")) endBundle();

    }
1045791
void assertContentModel(Collection<Class<? extends Element>> permittedChildren) throws InvalidInputException {
    for (Element child : this.getChildren()) {
      if (!permittedChildren.contains(child.getClass())) {

        //Permit whitespace
        if (child instanceof TextNode && StringUtils.isBlank(((TextNode) child).getText())) {
          continue;
        }

        throw new InvalidInputException("Element \"" + child.getMessageMLTag() + "\" is not allowed in \""
            + this.getMessageMLTag() + "\"");
      }
    }
  }
779545
@Nonnull
  public FineUploader5Validation addAllowedExtension (@Nonnull @Nonempty final String sAllowedExtension)
  {
    ValueEnforcer.notEmpty (sAllowedExtension, "AllowedExtension");
    m_aValidationAllowedExtensions.add (sAllowedExtension);
    return this;
  }
613968
public void addAllowedHeader(String header) {

		Constraint.ensureNotEmpty(header, String.format("Invalid header '%s'", header));
		allowedHeaders.add(header.toLowerCase());
	}
1154516
@Nonnull
  public FineUploader5Validation setAllowedExtensions (@Nullable final Collection <String> aAllowedExtensions)
  {
    m_aValidationAllowedExtensions.setAll (aAllowedExtensions);
    return this;
  }
530122
@SuppressWarnings("deprecation")
    public BUILDER setAllowedValues(String ... allowedValues) {
        assert allowedValues!= null;
        this.allowedValues = new ModelNode[allowedValues.length];
        for (int i = 0; i < allowedValues.length; i++) {
            this.allowedValues[i] = new ModelNode(allowedValues[i]);
        }
        return (BUILDER) this;
    }
570133
public static void notNullOrEmpty(final String string, final String message) throws IllegalArgumentException {
        if (string == null || string.length() == 0) {
            throw new IllegalArgumentException(message);
        }
    }
1080887
@Override
	public ICriteria addIfNotBlank(Restrictor restrictor) {
		if(restrictor instanceof SimpleRestrictor) {
			Object val = ((SimpleRestrictor) restrictor).getValue();
			if(val == null) return this;
			
			if(val instanceof String) {
				String valStr = (String) val;
				if(valStr.trim().length() == 0) return this;
			} else if (val instanceof Long) {
				Long valLong = (Long) val;
				if(valLong == 0) return this;
			}  else if (val instanceof Integer) {
				Integer valInteger = (Integer) val;
				if(valInteger == 0) return this;
			}
		}
		return this.addRestrictor(restrictor);
	}
1067458
public K allowNoIndices(boolean allow) {
        setParameter(Parameters.ALLOW_NO_INDICES, String.valueOf(allow));
        return (K) this;
    }
1364718
@Nullable
  public static String getWithoutForbiddenChars (@Nullable final String s)
  {
    if (s == null)
      return null;

    final StringBuilder aCleanValue = new StringBuilder (s.length ());
    int nForbidden = 0;

    for (final char c : s.toCharArray ())
      if (isForbiddenParamValueChar (c))
        nForbidden++;
      else
        aCleanValue.append (c);

    if (nForbidden == 0)
    {
      // Return "as-is"
      return s;
    }

    if (LOGGER.isWarnEnabled ())
      LOGGER.warn ("Removed " + nForbidden + " forbidden character(s) from a request parameter value!");

    return aCleanValue.toString ();
  }
387426
public String placeLimitOrderUnrestricted(LimitOrder limitOrder) {
    MatchingEngine engine = exchange.getEngine(limitOrder.getCurrencyPair());
    return engine.postOrder(getApiKey(), limitOrder).getId();
  }