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/ac2/usecase UsecaseAuthorizer.java
Date Wed, 06 Aug 2003 12:38:47 GMT
andreas     2003/08/06 05:38:47

  Modified:    src/java/org/apache/lenya/cms/ac2/usecase
                        UsecaseAuthorizer.java
  Log:
  fixed loop variable bug
  
  Revision  Changes    Path
  1.6       +2 -2      cocoon-lenya/src/java/org/apache/lenya/cms/ac2/usecase/UsecaseAuthorizer.java
  
  Index: UsecaseAuthorizer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/ac2/usecase/UsecaseAuthorizer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- UsecaseAuthorizer.java	5 Aug 2003 16:21:37 -0000	1.5
  +++ UsecaseAuthorizer.java	6 Aug 2003 12:38:47 -0000	1.6
  @@ -131,7 +131,7 @@
                   Element[] roleElements = helper.getChildren(usecaseElements[i], ROLE_ELEMENT);
                   Set roleIds = new HashSet();
                   for (int j = 0; j < roleElements.length; j++) {
  -                    String roleId = roleElements[i].getAttribute(ID_ATTRIBUTE);
  +                    String roleId = roleElements[j].getAttribute(ID_ATTRIBUTE);
                       roleIds.add(roleId);
                       getLogger().debug("Adding role [" + roleId + "]");
                   }
  
  
  

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