portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/webapp/admin TreeControl.java
Date Thu, 11 Nov 2004 19:22:56 GMT
taylor      2004/11/11 11:22:56

  Modified:    taglibs/treecontrol/src/java/org/apache/webapp/admin
                        TreeControl.java
  Log:
  don't require unique nodes
  
  Revision  Changes    Path
  1.2       +4 -4      jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/webapp/admin/TreeControl.java
  
  Index: TreeControl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/webapp/admin/TreeControl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TreeControl.java	2 Jul 2004 04:00:18 -0000	1.1
  +++ TreeControl.java	11 Nov 2004 19:22:56 -0000	1.2
  @@ -167,9 +167,9 @@
   
           synchronized (registry) {
               String name = node.getName();
  -            if (registry.containsKey(name))
  -                throw new IllegalArgumentException("Name '" + name +
  -                                                   "' is not unique");
  +            //if (registry.containsKey(name))
  +                //throw new IllegalArgumentException("Name '" + name +
  +                //                                   "' is not unique");
               node.setTree(this);
               registry.put(name, node);
           }
  
  
  

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


Mime
View raw message