dirkv 01/10/07 13:08:44
Modified: src/webdav/client/src/org/apache/webdav/lib/properties
CurrentUserPrivilegeSetProperty.java
Log:
according to the interface getPropertyAsString should only return the property value
Revision Changes Path
1.3 +4 -6
jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/properties/CurrentUserPrivilegeSetProperty.java
Index: CurrentUserPrivilegeSetProperty.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/properties/CurrentUserPrivilegeSetProperty.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CurrentUserPrivilegeSetProperty.java 2001/05/14 00:10:50 1.2
+++ CurrentUserPrivilegeSetProperty.java 2001/10/07 20:08:44 1.3
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/properties/CurrentUserPrivilegeSetProperty.java,v
1.2 2001/05/14 00:10:50 remm Exp $
- * $Revision: 1.2 $
- * $Date: 2001/05/14 00:10:50 $
+ * $Header:
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/properties/CurrentUserPrivilegeSetProperty.java,v
1.3 2001/10/07 20:08:44 dirkv Exp $
+ * $Revision: 1.3 $
+ * $Date: 2001/10/07 20:08:44 $
*
* ====================================================================
*
@@ -124,10 +124,8 @@
String theResult="";
theResult = (hasReadAccess()) ? "Read" : theResult;
theResult = (hasWriteAccess()) ? theResult+" Write" : theResult;
- return getName()+" = "+theResult.trim()+"\n";
+ return theResult.trim();
}
-
-
}