Skip to content

Commit ff13bdd

Browse files
committed
Javadoc
1 parent b2a2a76 commit ff13bdd

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@ Licensed to the Apache Software Foundation (ASF) under one or more
2121
* Validates an Option string.
2222
*/
2323
final class OptionValidator {
24-
/* package private for testing access */
25-
/** The array of additional characters allowed as the first character in the option but not in the rest of the option */
26-
static final char[] ADDITIONAL_OPTION_CHARS = {'?', '@'};
27-
/** The array of additional characters allowed in the rest of the option but not in the first position */
28-
static final char[] ADDITIONAL_LONG_CHARS = {'-'};
24+
25+
/**
26+
* The array of additional characters allowed as the first character in the option but not in the rest of the option. Package private for tests.
27+
*/
28+
static final char[] ADDITIONAL_OPTION_CHARS = { '?', '@' };
29+
30+
/** The array of additional characters allowed in the rest of the option but not in the first position Package private for tests. */
31+
static final char[] ADDITIONAL_LONG_CHARS = { '-' };
2932

3033
/**
3134
* Returns whether the specified character is a valid character.

0 commit comments

Comments
 (0)