Skip to content

Commit 04218b9

Browse files
committed
Checkstyle warning: variable order, complete javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1439807 13f79535-47bb-0310-9956-ffa450edef68
1 parent cc02adb commit 04218b9

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@
3838
*/
3939
public class Option implements Cloneable, Serializable
4040
{
41-
/** The serial version UID. */
42-
private static final long serialVersionUID = 1L;
43-
4441
/** constant that specifies the number of argument values has not been specified */
4542
public static final int UNINITIALIZED = -1;
4643

4744
/** constant that specifies the number of argument values is infinite */
4845
public static final int UNLIMITED_VALUES = -2;
4946

47+
/** The serial version UID. */
48+
private static final long serialVersionUID = 1L;
49+
5050
/** the name of the option */
5151
private String opt;
5252

@@ -662,10 +662,14 @@ void clearValues()
662662

663663
/**
664664
* This method is not intended to be used. It was a piece of internal
665-
* API that was made public in 1.0. It currently throws an UnsupportedOperationException.
665+
* API that was made public in 1.0. It currently throws an UnsupportedOperationException.
666+
*
667+
* @param value the value to add
668+
* @return always throws an {@link UnsupportedOperationException}
669+
* @throws UnsupportedOperationException always
666670
* @deprecated
667-
* @throws UnsupportedOperationException
668671
*/
672+
@Deprecated
669673
public boolean addValue(String value)
670674
{
671675
throw new UnsupportedOperationException("The addValue method is not intended for client use. "

0 commit comments

Comments
 (0)