Skip to content

Commit d588a86

Browse files
committed
moved param <T> tags
1 parent a8d7c89 commit d588a86

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/main/java/org/apache/commons/cli/CommandLine.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -349,11 +349,11 @@ public String[] getOptionValues(final String opt) {
349349
* Gets a version of this {@code Option} converted to a particular type.
350350
*
351351
* @param opt the name of the option.
352+
* @param <T> The return type for the method.
352353
* @return the value parsed into a particular object.
353354
* @throws ParseException if there are problems turning the option value into the desired type
354355
* @see PatternOptionBuilder
355356
* @since 1.5.0
356-
* @param <T> The return type for the method.
357357
*/
358358
public <T> T getParsedOptionValue(final char opt) throws ParseException {
359359
return getParsedOptionValue(String.valueOf(opt));
@@ -363,11 +363,11 @@ public <T> T getParsedOptionValue(final char opt) throws ParseException {
363363
* Gets a version of this {@code Option} converted to a particular type.
364364
*
365365
* @param option the name of the option.
366+
* @param <T> The return type for the method.
366367
* @return the value parsed into a particular object.
367368
* @throws ParseException if there are problems turning the option value into the desired type
368369
* @see PatternOptionBuilder
369370
* @since 1.5.0
370-
* @param <T> The return type for the method.
371371
*/
372372
public <T> T getParsedOptionValue(final Option option) throws ParseException {
373373
return getParsedOptionValue(option, null);
@@ -377,11 +377,11 @@ public <T> T getParsedOptionValue(final Option option) throws ParseException {
377377
* Gets a version of this {@code Option} converted to a particular type.
378378
*
379379
* @param opt the name of the option.
380+
* @param <T> The return type for the method.
380381
* @return the value parsed into a particular object.
381382
* @throws ParseException if there are problems turning the option value into the desired type
382383
* @see PatternOptionBuilder
383384
* @since 1.2
384-
* @param <T> The return type for the method.
385385
*/
386386
public <T> T getParsedOptionValue(final String opt) throws ParseException {
387387
return getParsedOptionValue(resolveOption(opt));
@@ -392,11 +392,11 @@ public <T> T getParsedOptionValue(final String opt) throws ParseException {
392392
*
393393
* @param opt the name of the option.
394394
* @param defaultValue the default value to return if opt is not set.
395+
* @param <T> The return type for the method.
395396
* @return the value parsed into a particular object.
396397
* @throws ParseException if there are problems turning the option value into the desired type
397398
* @see PatternOptionBuilder
398399
* @since 1.7.0
399-
* @param <T> The return type for the method.
400400
*/
401401
public <T> T getParsedOptionValue(final char opt, final T defaultValue) throws ParseException {
402402
return getParsedOptionValue(String.valueOf(opt), defaultValue);
@@ -407,11 +407,11 @@ public <T> T getParsedOptionValue(final char opt, final T defaultValue) throws P
407407
*
408408
* @param option the name of the option.
409409
* @param defaultValue the default value to return if opt is not set.
410+
* @param <T> The return type for the method.
410411
* @return the value parsed into a particular object.
411412
* @throws ParseException if there are problems turning the option value into the desired type
412413
* @see PatternOptionBuilder
413414
* @since 1.7.0
414-
* @param <T> The return type for the method.
415415
*/
416416
@SuppressWarnings("unchecked")
417417
public <T> T getParsedOptionValue(final Option option, final T defaultValue) throws ParseException {
@@ -432,11 +432,11 @@ public <T> T getParsedOptionValue(final Option option, final T defaultValue) thr
432432
*
433433
* @param opt the name of the option.
434434
* @param defaultValue the default value to return if opt is not set.
435+
* @param <T> The return type for the method.
435436
* @return the value parsed into a particular object.
436437
* @throws ParseException if there are problems turning the option value into the desired type
437438
* @see PatternOptionBuilder
438439
* @since 1.7.0
439-
* @param <T> The return type for the method.
440440
*/
441441
public <T> T getParsedOptionValue(final String opt, final T defaultValue) throws ParseException {
442442
return getParsedOptionValue(resolveOption(opt), defaultValue);

0 commit comments

Comments
 (0)