You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by lu...@apache.org on 2004/07/13 15:02:46 UTC

cvs commit: jakarta-slide/src/webdav/server/org/apache/slide/webdav/util PropertyHelper.java

luetzkendorf    2004/07/13 06:02:46

  Modified:    src/webdav/server/org/apache/slide/webdav/util
                        PropertyHelper.java
  Log:
  fixed bug that lets some lock test cases fail
  
  Revision  Changes    Path
  1.74      +4 -5      jakarta-slide/src/webdav/server/org/apache/slide/webdav/util/PropertyHelper.java
  
  Index: PropertyHelper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/util/PropertyHelper.java,v
  retrieving revision 1.73
  retrieving revision 1.74
  diff -u -r1.73 -r1.74
  --- PropertyHelper.java	2 Jul 2004 12:04:28 -0000	1.73
  +++ PropertyHelper.java	13 Jul 2004 13:02:46 -0000	1.74
  @@ -44,7 +44,6 @@
   import org.apache.slide.common.ServiceAccessException;
   import org.apache.slide.common.SlideException;
   import org.apache.slide.common.SlideToken;
  -import org.apache.slide.common.SlideTokenWrapper;
   import org.apache.slide.common.Uri;
   import org.apache.slide.common.UriPath;
   import org.apache.slide.content.Content;
  @@ -1394,7 +1393,7 @@
               Element lockscopeValue = null;
               if (objectLockToken.isExclusive()) {
                   lockscopeValue = new Element(E_EXCLUSIVE, DNSP);
  -            } else if (objectLockToken.isExclusive()) {
  +            } else if (objectLockToken.isShared()) {
                   lockscopeValue = new Element(E_SHARED, DNSP);
               } else if (objectLockToken.isLocal()) {
                   lockscopeValue = new Element(E_LOCAL, DNSP);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org