- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {}
"No variable named: '" + parameterName + "' in supplied question template"); if (variable.getMinElements() != null) { if (!value.isArray() || value.size() < variable.getMinElements()) { throw new BatfishException( String.format( + "Expecting a JSON array of at least %d " + "elements", parameterName, value, variable.getMinElements()));
if (variable.getMinElements() != null) { if (!value.isArray()) { throw new IllegalArgumentException("Expecting JSON array for array type"); String valueJsonString = new ObjectMapper().writeValueAsString(value); boolean stringType = variable.getType().getStringType(); boolean setType = variable.getMinElements() != null; if (value != null) { String topLevelVarNameRegex = Pattern.quote("\"${" + varName + "}\"");