in src/main/java/com/epam/grid/engine/provider/utils/NumberParseUtils.java [41:54]
public static Integer toInt(final String value) {
final String trimValue = value.trim();
if (trimValue.equals(EMPTY_VALUE)) {
return null;
}
if (trimValue.matches(NUMERIC_STRING_REGEX)) {
return Integer.parseInt(trimValue);
}
throw new GridEngineException(HttpStatus.NOT_FOUND,
String.format("Cannot be converted to Integer: %s", value));
}