/** * Converts the given value to an int for the given option. * * @param optionName * the option name * @param value * the value to parse * @return the int result */ protected int toInt(final String optionName, final String value) { return new IntegerConverter(optionName).convert(value).intValue(); }