Skip to content

Commit

Permalink
CommandLine.Model.ArgSpec:
Browse files Browse the repository at this point in the history
Fixed JavaDoc @see / {@link} issues that cause build warnings
  • Loading branch information
rgoldberg authored and remkop committed Dec 1, 2021
1 parent a8b863c commit b20cd72
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/picocli/CommandLine.java
Original file line number Diff line number Diff line change
Expand Up @@ -8744,7 +8744,8 @@ private String[] expandVariables(String[] desc) {
public Range arity() { return arity; }

/** Returns the name of the option or positional parameter used in the usage help message.
* @see Option#paramLabel() {@link Parameters#paramLabel()} */
* @see Option#paramLabel()
* @see Parameters#paramLabel() */
public String paramLabel() { return interpolate(paramLabel); }

/** Returns whether usage syntax decorations around the {@linkplain #paramLabel() paramLabel} should be suppressed.
Expand Down Expand Up @@ -9385,7 +9386,8 @@ private static String inferLabel(String label, String fieldName, ITypeInfo typeI
public Range arity() { return arity; }

/** Returns the name of the option or positional parameter used in the usage help message.
* @see Option#paramLabel() {@link Parameters#paramLabel()} */
* @see Option#paramLabel()
* @see Parameters#paramLabel() */
public String paramLabel() { return paramLabel; }

/** Returns whether usage syntax decorations around the {@linkplain #paramLabel() paramLabel} should be suppressed.
Expand Down

0 comments on commit b20cd72

Please sign in to comment.