@@ -106,7 +106,7 @@ public int compare(final Option opt1, final Option opt2) {
106106 public static final String DEFAULT_LONG_OPT_PREFIX = "--" ;
107107
108108 /**
109- * default separator displayed between a long Option and its value
109+ * Default separator displayed between a long Option and its value
110110 *
111111 * @since 1.3
112112 **/
@@ -116,63 +116,63 @@ public int compare(final Option opt1, final Option opt2) {
116116 public static final String DEFAULT_ARG_NAME = "arg" ;
117117
118118 /**
119- * number of characters per line
119+ * Number of characters per line
120120 *
121121 * @deprecated Scope will be made private for next major version - use get/setWidth methods instead.
122122 */
123123 @ Deprecated
124124 public int defaultWidth = DEFAULT_WIDTH ;
125125
126126 /**
127- * amount of padding to the left of each line
127+ * Amount of padding to the left of each line
128128 *
129129 * @deprecated Scope will be made private for next major version - use get/setLeftPadding methods instead.
130130 */
131131 @ Deprecated
132132 public int defaultLeftPad = DEFAULT_LEFT_PAD ;
133133
134134 /**
135- * the number of characters of padding to be prefixed to each description line
135+ * The number of characters of padding to be prefixed to each description line
136136 *
137137 * @deprecated Scope will be made private for next major version - use get/setDescPadding methods instead.
138138 */
139139 @ Deprecated
140140 public int defaultDescPad = DEFAULT_DESC_PAD ;
141141
142142 /**
143- * the string to display at the beginning of the usage statement
143+ * The string to display at the beginning of the usage statement
144144 *
145145 * @deprecated Scope will be made private for next major version - use get/setSyntaxPrefix methods instead.
146146 */
147147 @ Deprecated
148148 public String defaultSyntaxPrefix = DEFAULT_SYNTAX_PREFIX ;
149149
150150 /**
151- * the new line string
152- *
153- * @deprecated Scope will be made private for next major version - use get/setNewLine methods instead.
154- */
151+ * The new line string
152+ *
153+ * @deprecated Scope will be made private for next major version - use get/setNewLine methods instead.
154+ */
155155 @ Deprecated
156156 public String defaultNewLine = System .lineSeparator ();
157157
158158 /**
159- * the shortOpt prefix
159+ * The shortOpt prefix
160160 *
161161 * @deprecated Scope will be made private for next major version - use get/setOptPrefix methods instead.
162162 */
163163 @ Deprecated
164164 public String defaultOptPrefix = DEFAULT_OPT_PREFIX ;
165165
166166 /**
167- * the long Opt prefix
167+ * The long Opt prefix
168168 *
169169 * @deprecated Scope will be made private for next major version - use get/setLongOptPrefix methods instead.
170170 */
171171 @ Deprecated
172172 public String defaultLongOptPrefix = DEFAULT_LONG_OPT_PREFIX ;
173173
174174 /**
175- * the name of the argument
175+ * The name of the argument
176176 *
177177 * @deprecated Scope will be made private for next major version - use get/setArgName methods instead.
178178 */
@@ -186,7 +186,9 @@ public int compare(final Option opt1, final Option opt2) {
186186 */
187187 protected Comparator <Option > optionComparator = new OptionComparator ();
188188
189- /** The separator displayed between the long option and its value. */
189+ /**
190+ * The separator displayed between the long option and its value.
191+ */
190192 private String longOptSeparator = DEFAULT_LONG_OPT_SEPARATOR ;
191193
192194 /**
@@ -645,7 +647,7 @@ public void printWrapped(final PrintWriter pw, final int width, final int nextLi
645647 }
646648
647649 /**
648- * Print the specified text to the specified PrintWriter.
650+ * Prints the specified text to the specified PrintWriter.
649651 *
650652 * @param pw The printWriter to write the help to
651653 * @param width The number of characters to display per line
@@ -656,7 +658,7 @@ public void printWrapped(final PrintWriter pw, final int width, final String tex
656658 }
657659
658660 /**
659- * Render the specified Options and return the rendered Options in a StringBuffer.
661+ * Renders the specified Options and return the rendered Options in a StringBuffer.
660662 *
661663 * @param sb The StringBuffer to place the rendered Options into.
662664 * @param width The number of characters to display per line
@@ -740,7 +742,7 @@ protected StringBuffer renderOptions(final StringBuffer sb, final int width, fin
740742 }
741743
742744 /**
743- * Render the specified text and return the rendered Options in a StringBuffer.
745+ * Renders the specified text and return the rendered Options in a StringBuffer.
744746 *
745747 * @param sb The StringBuffer to place the rendered text into.
746748 * @param width The number of characters to display per line
@@ -788,7 +790,7 @@ protected StringBuffer renderWrappedText(final StringBuffer sb, final int width,
788790 }
789791
790792 /**
791- * Render the specified text width a maximum width. This method differs from renderWrappedText by not removing leading
793+ * Renders the specified text width a maximum width. This method differs from renderWrappedText by not removing leading
792794 * spaces after a new line.
793795 *
794796 * @param sb The StringBuffer to place the rendered text into.
@@ -817,7 +819,7 @@ private Appendable renderWrappedTextBlock(final StringBuffer sb, final int width
817819 }
818820
819821 /**
820- * Remove the trailing whitespace from the specified String.
822+ * Removes the trailing whitespace from the specified String.
821823 *
822824 * @param s The String to remove the trailing padding from.
823825 *
0 commit comments