@@ -231,8 +231,8 @@ private static void reset() {
231231 /**
232232 * The next Option created will have the specified argument value name.
233233 *
234- * @param name the name for the argument value
235- * @return the OptionBuilder instance
234+ * @param name the name for the argument value.
235+ * @return the OptionBuilder instance.
236236 */
237237 public static OptionBuilder withArgName (final String name ) {
238238 argName = name ;
@@ -242,8 +242,8 @@ public static OptionBuilder withArgName(final String name) {
242242 /**
243243 * The next Option created will have the specified description
244244 *
245- * @param newDescription a description of the Option's purpose
246- * @return the OptionBuilder instance
245+ * @param newDescription a description of the Option's purpose.
246+ * @return the OptionBuilder instance.
247247 */
248248 public static OptionBuilder withDescription (final String newDescription ) {
249249 description = newDescription ;
@@ -253,8 +253,8 @@ public static OptionBuilder withDescription(final String newDescription) {
253253 /**
254254 * The next Option created will have the following long option value.
255255 *
256- * @param newLongopt the long option value
257- * @return the OptionBuilder instance
256+ * @param newLongopt the long option value.
257+ * @return the OptionBuilder instance.
258258 */
259259 public static OptionBuilder withLongOpt (final String newLongopt ) {
260260 longOption = newLongopt ;
@@ -264,8 +264,8 @@ public static OptionBuilder withLongOpt(final String newLongopt) {
264264 /**
265265 * The next Option created will have a value that will be an instance of {@code type}.
266266 *
267- * @param newType the type of the Options argument value
268- * @return the OptionBuilder instance
267+ * @param newType the type of the Options argument value.
268+ * @return the OptionBuilder instance.
269269 * @since 1.3
270270 */
271271 public static OptionBuilder withType (final Class <?> newType ) {
@@ -279,9 +279,9 @@ public static OptionBuilder withType(final Class<?> newType) {
279279 * <strong>Note:</strong> this method is kept for binary compatibility and the input type is supposed to be a {@link Class}
280280 * object.
281281 *
282- * @param newType the type of the Options argument value
283- * @return the OptionBuilder instance
284- * @deprecated Since 1.3, use {@link #withType(Class)} instead
282+ * @param newType the type of the Options argument value.
283+ * @return the OptionBuilder instance.
284+ * @deprecated Since 1.3, use {@link #withType(Class)} instead.
285285 */
286286 @ Deprecated
287287 public static OptionBuilder withType (final Object newType ) {
@@ -301,7 +301,7 @@ public static OptionBuilder withType(final Object newType) {
301301 * String propertyValue = opt.getValue(1);
302302 * </pre>
303303 *
304- * @return the OptionBuilder instance
304+ * @return the OptionBuilder instance.
305305 */
306306 public static OptionBuilder withValueSeparator () {
307307 valueSeparator = Char .EQUAL ;
@@ -323,15 +323,15 @@ public static OptionBuilder withValueSeparator() {
323323 * </pre>
324324 *
325325 * @param sep The value separator to be used for the argument values.
326- * @return the OptionBuilder instance
326+ * @return the OptionBuilder instance.
327327 */
328328 public static OptionBuilder withValueSeparator (final char sep ) {
329329 valueSeparator = sep ;
330330 return INSTANCE ;
331331 }
332332
333333 /**
334- * private constructor to prevent instances being created
334+ * private constructor to prevent instances being created.
335335 */
336336 private OptionBuilder () {
337337 // hide the constructor
0 commit comments