File tree Expand file tree Collapse file tree
src/java/org/apache/commons/cli Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 */
1717package org .apache .commons .cli ;
1818
19+ import java .io .Serializable ;
1920import java .util .Collection ;
2021import java .util .Iterator ;
2122import java .util .LinkedList ;
3839 * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
3940 * @author John Keyes (john at integralsource.com)
4041 */
41- public class CommandLine {
42+ public class CommandLine implements Serializable {
43+
44+ private static final long serialVersionUID = 1L ;
4245
4346 /** the unrecognised options/arguments */
4447 private List args = new LinkedList ();
Original file line number Diff line number Diff line change 1616 */
1717package org .apache .commons .cli ;
1818
19+ import java .io .Serializable ;
1920import java .util .Collection ;
2021import java .util .HashMap ;
2122import java .util .Iterator ;
2526 * @author John Keyes ( john at integralsource.com )
2627 * @version $Revision$
2728 */
28- public class OptionGroup {
29+ public class OptionGroup implements Serializable {
2930
31+ private static final long serialVersionUID = 1L ;
32+
3033 /** hold the options */
3134 private HashMap optionMap = new HashMap ();
3235
Original file line number Diff line number Diff line change 1616 */
1717package org .apache .commons .cli ;
1818
19+ import java .io .Serializable ;
1920import java .util .ArrayList ;
2021import java .util .Collection ;
2122import java .util .Collections ;
4041 * @author <a href="mailto:jstrachan@apache.org">James Strachan</a>
4142 * @version $Revision$
4243 */
43- public class Options {
44+ public class Options implements Serializable {
4445
46+ private static final long serialVersionUID = 1L ;
47+
4548 /** a map of the options with the character key */
4649 private Map shortOpts = new HashMap ();
4750
You can’t perform that action at this time.
0 commit comments