Author: draier
Date: Wed Mar  8 07:50:01 2006
New Revision: 384245

URL: http://svn.apache.org/viewcvs?rev=384245&view=rev
Log:
fixed test on RolesPath and GroupsPath

Modified:
    
jakarta/slide/trunk/src/webdav/server/org/apache/slide/webdav/util/properties/PrincipalCollectionSetProperty.java

Modified: 
jakarta/slide/trunk/src/webdav/server/org/apache/slide/webdav/util/properties/PrincipalCollectionSetProperty.java
URL: 
http://svn.apache.org/viewcvs/jakarta/slide/trunk/src/webdav/server/org/apache/slide/webdav/util/properties/PrincipalCollectionSetProperty.java?rev=384245&r1=384244&r2=384245&view=diff
==============================================================================
--- 
jakarta/slide/trunk/src/webdav/server/org/apache/slide/webdav/util/properties/PrincipalCollectionSetProperty.java
 (original)
+++ 
jakarta/slide/trunk/src/webdav/server/org/apache/slide/webdav/util/properties/PrincipalCollectionSetProperty.java
 Wed Mar  8 07:50:01 2006
@@ -56,12 +56,12 @@
         xmlValue.addHref(WebdavUtils.getAbsolutePath(
                 namespaceConfig.getUsersPath(), context));
         
-        if (namespaceConfig.getGroupsPath() != null) {
+        if (namespaceConfig.getGroupsPath() != null && 
namespaceConfig.getGroupsPath().length() != 0) {
             
             xmlValue.addHref(WebdavUtils.getAbsolutePath(
                     namespaceConfig.getGroupsPath(), context));
         }
-        if (namespaceConfig.getRolesPath() != null) {
+        if (namespaceConfig.getRolesPath() != null && 
namespaceConfig.getRolesPath().length() != 0) {
             xmlValue.addHref(WebdavUtils.getAbsolutePath(
                     namespaceConfig.getRolesPath(), context));
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to