@@ -445,7 +445,6 @@ private Option(final Builder builder) {
445445 * @param option short representation of the option.
446446 * @param hasArg specifies whether the Option takes an argument or not.
447447 * @param description describes the function of the option.
448- *
449448 * @throws IllegalArgumentException if there are any non valid Option characters in {@code opt}.
450449 */
451450 public Option (final String option , final boolean hasArg , final String description ) throws IllegalArgumentException {
@@ -457,7 +456,6 @@ public Option(final String option, final boolean hasArg, final String descriptio
457456 *
458457 * @param option short representation of the option.
459458 * @param description describes the function of the option.
460- *
461459 * @throws IllegalArgumentException if there are any non valid Option characters in {@code opt}.
462460 */
463461 public Option (final String option , final String description ) throws IllegalArgumentException {
@@ -471,7 +469,6 @@ public Option(final String option, final String description) throws IllegalArgum
471469 * @param longOption the long representation of the option.
472470 * @param hasArg specifies whether the Option takes an argument or not.
473471 * @param description describes the function of the option.
474- *
475472 * @throws IllegalArgumentException if there are any non valid Option characters in {@code opt}.
476473 */
477474 public Option (final String option , final String longOption , final boolean hasArg , final String description ) throws IllegalArgumentException {
@@ -691,9 +688,7 @@ public String getValue() {
691688 * Gets the specified value of this Option or {@code null} if there is no value.
692689 *
693690 * @param index The index of the value to be returned.
694- *
695691 * @return the specified value of this Option or {@code null} if there is no value.
696- *
697692 * @throws IndexOutOfBoundsException if index is less than 1 or greater than the number of the values for this Option.
698693 */
699694 public String getValue (final int index ) throws IndexOutOfBoundsException {
@@ -704,7 +699,6 @@ public String getValue(final int index) throws IndexOutOfBoundsException {
704699 * Gets the value/first value of this Option or the {@code defaultValue} if there is no value.
705700 *
706701 * @param defaultValue The value to be returned if there is no value.
707- *
708702 * @return the value/first value of this Option or the {@code defaultValue} if there are no values.
709703 */
710704 public String getValue (final String defaultValue ) {
0 commit comments