Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed javadoc issues
  • Loading branch information
Claudenw committed Oct 6, 2024
commit d5b148404b63ea57cc597e364c958dd4abc2ebcf
3 changes: 2 additions & 1 deletion src/main/java/org/apache/commons/cli/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ private static boolean isWhitespace(final char c) {
* Returns the {@code defaultValue} if {@code str} is empty.
* @param str The string to check
* @param defaultValue the default value if the string is empty.
* @return the {@code defaultValue} if {@code str} is empty.
* @param <T> The type of arguments.
* @return the {@code defaultValue} if {@code str} is empty,
* @since 1.9.0
*/
public static <T extends CharSequence> T defaultValue(final T str, final T defaultValue) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ protected AbstractHelpFormatter(final HelpWriter helpWriter, final OptionFormatt
}

/**
* Converts a collection of {@link Option}s into a {@TableDefinition}.
* Converts a collection of {@link Option}s into a {@link TableDefinition}.
* @param options The options to create a table for.
* @return the TableDefinition.
*/
Expand Down