Skip to content

Commit 3da83ee

Browse files
committed
No need for blank Javadoc lines between Javadoc @ tags
1 parent 9850ca2 commit 3da83ee

File tree

7 files changed

+0
-17
lines changed

7 files changed

+0
-17
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ public Builder() {
7676
* Adds left-over unrecognized option/argument.
7777
*
7878
* @param arg the unrecognized option/argument.
79-
*
8079
* @return this Builder instance for method chaining.
8180
*/
8281
public Builder addArg(final String arg) {
@@ -90,7 +89,6 @@ public Builder addArg(final String arg) {
9089
* Adds an option to the command line. The values of the option are stored.
9190
*
9291
* @param opt the processed option.
93-
*
9492
* @return this Builder instance for method chaining.
9593
*/
9694
public Builder addOption(final Option opt) {

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ public interface CommandLineParser {
2929
* @param options the specified Options
3030
* @param arguments the command line arguments
3131
* @return the list of atomic option and value tokens
32-
*
3332
* @throws ParseException if there are any problems encountered while parsing the command line tokens.
3433
*/
3534
CommandLine parse(Options options, String[] arguments) throws ParseException;
@@ -41,7 +40,6 @@ public interface CommandLineParser {
4140
* @param arguments the command line arguments
4241
* @param properties command line option name-value pairs
4342
* @return the list of atomic option and value tokens
44-
*
4543
* @throws ParseException if there are any problems encountered while parsing the command line tokens.
4644
*/
4745
/*

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,6 @@ public CommandLine parse(final Options options, final String[] arguments, final
693693
* @param arguments the command line arguments
694694
* @param properties command line option name-value pairs
695695
* @return the list of atomic option and value tokens
696-
*
697696
* @throws ParseException if there are any problems encountered while parsing the command line tokens.
698697
*/
699698
public CommandLine parse(final Options options, final String[] arguments, final Properties properties) throws ParseException {

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,6 @@ <A extends Appendable> A appendWrappedText(final A appendable, final int width,
523523
* Creates a String of padding of length {@code len}.
524524
*
525525
* @param len The length of the String of padding to create.
526-
*
527526
* @return The String of padding
528527
*/
529528
protected String createPadding(final int len) {
@@ -713,7 +712,6 @@ public void printHelp(final int width, final String cmdLineSyntax, final String
713712
* @param leftPad the number of characters of padding to be prefixed to each line
714713
* @param descPad the number of characters of padding to be prefixed to each description line
715714
* @param footer the banner to display at the end of the help
716-
*
717715
* @throws IllegalStateException if there is no room to print a line
718716
*/
719717
public void printHelp(final PrintWriter pw, final int width, final String cmdLineSyntax, final String header, final Options options, final int leftPad,
@@ -914,7 +912,6 @@ public void printWrapped(final PrintWriter pw, final int width, final String tex
914912
* @param options The command line Options
915913
* @param leftPad the number of characters of padding to be prefixed to each line
916914
* @param descPad the number of characters of padding to be prefixed to each description line
917-
*
918915
* @return the StringBuffer with the rendered Options contents.
919916
*/
920917
protected StringBuffer renderOptions(final StringBuffer sb, final int width, final Options options, final int leftPad, final int descPad) {
@@ -933,7 +930,6 @@ protected StringBuffer renderOptions(final StringBuffer sb, final int width, fin
933930
* @param width The number of characters to display per line
934931
* @param nextLineTabStop The position on the next line for the first tab.
935932
* @param text The text to be rendered.
936-
*
937933
* @return the StringBuffer with the rendered Options contents.
938934
*/
939935
protected StringBuffer renderWrappedText(final StringBuffer sb, final int width, final int nextLineTabStop, final String text) {

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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) {

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,6 @@ public static OptionBuilder withValueSeparator() {
326326
* </pre>
327327
*
328328
* @param sep The value separator to be used for the argument values.
329-
*
330329
* @return the OptionBuilder instance
331330
*/
332331
public static OptionBuilder withValueSeparator(final char sep) {

src/main/java/org/apache/commons/cli/help/Util.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ static String repeat(final int len, final char fillChar) {
107107
* Creates a String of padding of length {@code len}.
108108
*
109109
* @param len The length of the String of padding to create.
110-
*
111110
* @return The String of padding.
112111
*/
113112
static String repeatSpace(final int len) {

0 commit comments

Comments
 (0)