portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlest...@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/security/src/java/org/apache/jetspeed/security/impl GroupManagerImpl.java
Date Fri, 12 Mar 2004 14:37:50 GMT
dlestrat    2004/03/12 06:37:50

  Modified:    components/security/src/java/org/apache/jetspeed/security/impl
                        GroupManagerImpl.java
  Log:
  Minor refactoring.
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-jetspeed-2/components/security/src/java/org/apache/jetspeed/security/impl/GroupManagerImpl.java
  
  Index: GroupManagerImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/security/src/java/org/apache/jetspeed/security/impl/GroupManagerImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GroupManagerImpl.java	10 Mar 2004 06:07:47 -0000	1.1
  +++ GroupManagerImpl.java	12 Mar 2004 14:37:50 -0000	1.2
  @@ -108,7 +108,7 @@
           {
               PersistenceStore store = getPersistenceStore();
               Filter filter = store.newFilter();
  -            filter.addLike((Object) new String("fullPath"), (Object) (omParentGroup.getFullPath()
+ "/*"));
  +            filter.addLike("fullPath", omParentGroup.getFullPath() + "/*");
               Object query = store.newQuery(JetspeedGroupPrincipalImpl.class, filter);
               Collection omGroups = store.getCollectionByQuery(query);
               if (null == omGroups)
  
  
  

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