lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/transformation WorkflowMenuTransformer.java
Date Fri, 30 May 2003 15:26:18 GMT
andreas     2003/05/30 08:26:18

  Modified:    src/java/org/apache/lenya/cms/cocoon/transformation
                        WorkflowMenuTransformer.java
  Log:
  code simplification
  
  Revision  Changes    Path
  1.2       +1 -3      cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/transformation/WorkflowMenuTransformer.java
  
  Index: WorkflowMenuTransformer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/cocoon/transformation/WorkflowMenuTransformer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WorkflowMenuTransformer.java	30 May 2003 14:58:37 -0000	1.1
  +++ WorkflowMenuTransformer.java	30 May 2003 15:26:18 -0000	1.2
  @@ -125,10 +125,8 @@
               throw new ProcessingException(e);
           }
         
  -        Role role = new Role("editor");
  -      
           Group group = new Group();
  -        group.addRole(role);
  +        group.addRole(new Role("editor"));
         
           User user = new FileUser("testuser");
           user.addGroup(group);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message