commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roxspr...@apache.org
Subject cvs commit: jakarta-commons-sandbox/cli/src/java/org/apache/commons/cli2 ParentImpl.java
Date Wed, 22 Oct 2003 23:34:42 GMT
roxspring    2003/10/22 16:34:42

  Modified:    cli/src/java/org/apache/commons/cli2 ParentImpl.java
  Log:
  Added getArgument() and getChildren() methods to ParentImpl so that subclasses can access
the information
  
  Revision  Changes    Path
  1.2       +19 -3     jakarta-commons-sandbox/cli/src/java/org/apache/commons/cli2/ParentImpl.java
  
  Index: ParentImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/cli/src/java/org/apache/commons/cli2/ParentImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ParentImpl.java	18 Oct 2003 22:00:14 -0000	1.1
  +++ ParentImpl.java	22 Oct 2003 23:34:42 -0000	1.2
  @@ -206,4 +206,20 @@
   
   		return helpLines;
   	}
  +    /**
  +     * @return Returns the argument.
  +     */
  +    public Argument getArgument()
  +    {
  +        return argument;
  +    }
  +
  +    /**
  +     * @return Returns the children.
  +     */
  +    public Group getChildren()
  +    {
  +        return children;
  +    }
  +
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message