File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/cli Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 */
3939public 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. "
You can’t perform that action at this time.
0 commit comments