You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by ha...@apache.org on 2001/11/18 20:22:53 UTC

cvs commit: jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/actions BasicCreateIndex.java BasicCreateTable.java BasicCreateView.java

hammant     01/11/18 11:22:53

  Modified:    apps/db/src/java/org/apache/avalon/db/basic/actions
                        BasicCreateIndex.java BasicCreateTable.java
                        BasicCreateView.java
  Log:
  remove obsolete method
  
  Revision  Changes    Path
  1.8       +1 -7      jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/actions/BasicCreateIndex.java
  
  Index: BasicCreateIndex.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/actions/BasicCreateIndex.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- BasicCreateIndex.java	2001/11/18 14:18:01	1.7
  +++ BasicCreateIndex.java	2001/11/18 19:22:52	1.8
  @@ -24,7 +24,7 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.7 $
  + * @version $Revision: 1.8 $
    */
   public class BasicCreateIndex extends BasicCreateQueryable implements CreateIndex {
   
  @@ -39,12 +39,6 @@
   
       public void initialize() throws ActionException {
       }
  -
  -
  -    protected void checkNodeType(String nodeName) throws ActionException {
  -        // TODO never called?
  -    }
  -
   
   
       /**
  
  
  
  1.12      +0 -4      jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/actions/BasicCreateTable.java
  
  Index: BasicCreateTable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/actions/BasicCreateTable.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- BasicCreateTable.java	2001/11/18 14:18:01	1.11
  +++ BasicCreateTable.java	2001/11/18 19:22:52	1.12
  @@ -41,10 +41,6 @@
       public void initialize() throws ActionException {
       }
   
  -    protected void checkNodeType(String nodeName) throws ActionException {
  -        throw new ActionException("Only 'columns' allowed as a node under 'create-table' node");
  -    }
  -
       /**
        * Method execute
        *
  
  
  
  1.12      +1 -7      jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/actions/BasicCreateView.java
  
  Index: BasicCreateView.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/db/src/java/org/apache/avalon/db/basic/actions/BasicCreateView.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- BasicCreateView.java	2001/11/18 14:18:01	1.11
  +++ BasicCreateView.java	2001/11/18 19:22:52	1.12
  @@ -26,7 +26,7 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.11 $
  + * @version $Revision: 1.12 $
    */
   public class BasicCreateView extends BasicCreateQueryable implements CreateView {
   
  @@ -41,12 +41,6 @@
       }
   
       public void initialize() throws ActionException {
  -    }
  -
  -    protected void checkNodeType(String nodeName) throws ActionException {
  -        if (!nodeName.equals("simple-select")) {
  -            throw new ActionException("Only 'columns' & 'simple-select' allowed as a node under 'create-view' node");
  -        }
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>