tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manv...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin TreeControl.java
Date Fri, 22 Mar 2002 00:58:17 GMT
manveen     02/03/21 16:58:17

  Modified:    webapps/admin/WEB-INF/classes/org/apache/webapp/admin
                        TreeControl.java
  Log:
  Node should also be removed from registry when its deleted.
  Otherwise this creates problems (name not unique exception ) while deletion and recreation
of a node.
  
  Revision  Changes    Path
  1.3       +5 -4      jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/TreeControl.java
  
  Index: TreeControl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/TreeControl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TreeControl.java	7 Mar 2002 02:48:54 -0000	1.2
  +++ TreeControl.java	22 Mar 2002 00:58:17 -0000	1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/TreeControl.java,v
1.2 2002/03/07 02:48:54 craigmcc Exp $
  - * $Revision: 1.2 $
  - * $Date: 2002/03/07 02:48:54 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/TreeControl.java,v
1.3 2002/03/22 00:58:17 manveen Exp $
  + * $Revision: 1.3 $
  + * $Date: 2002/03/22 00:58:17 $
    *
    * ====================================================================
    *
  @@ -75,7 +75,7 @@
    *
    * @author Jazmin Jonson
    * @author Craig R. McClanahan
  - * @version $Revision: 1.2 $ $Date: 2002/03/07 02:48:54 $
  + * @version $Revision: 1.3 $ $Date: 2002/03/22 00:58:17 $
    */
   
   public class TreeControl implements Serializable {
  @@ -265,6 +265,7 @@
               if (node == this.root) {
                   this.root = null;
               }
  +            registry.remove(node.getName());
           }
   
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message