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/workflow/impl RoleCondition.java
Date Fri, 30 May 2003 15:26:40 GMT
andreas     2003/05/30 08:26:40

  Modified:    src/java/org/apache/lenya/cms/workflow/impl
                        RoleCondition.java
  Log:
  added assertion
  
  Revision  Changes    Path
  1.6       +1 -0      cocoon-lenya/src/java/org/apache/lenya/cms/workflow/impl/RoleCondition.java
  
  Index: RoleCondition.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/workflow/impl/RoleCondition.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- RoleCondition.java	30 May 2003 10:51:17 -0000	1.5
  +++ RoleCondition.java	30 May 2003 15:26:40 -0000	1.6
  @@ -38,6 +38,7 @@
           
           while (userGroups.hasNext()) {
           	Iterator groupRoles = ((Group)userGroups.next()).getRoles();
  +            assert groupRoles != null;
           	while (groupRoles.hasNext()) {
           		userRoles.add(groupRoles.next());
           	}
  
  
  

---------------------------------------------------------------------
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