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 cm...@apache.org on 2002/08/01 10:39:16 UTC
cvs commit: jakarta-slide/src/webdav/server/org/apache/slide/webdav/method LockMethod.java
cmlenz 2002/08/01 01:39:16
Modified: src/webdav/server/org/apache/slide/webdav/method
LockMethod.java
Log:
Commenting out the throw clause had changed program flow so that a
NPE was being thrown from JDOM. Inserted a return instead.
Revision Changes Path
1.40 +5 -4 jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/LockMethod.java
Index: LockMethod.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/LockMethod.java,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- LockMethod.java 27 Jun 2002 10:49:58 -0000 1.39
+++ LockMethod.java 1 Aug 2002 08:39:16 -0000 1.40
@@ -404,7 +404,8 @@
if (ownerElement == null) {
lockInfo_lockOwner = DEFAULT_LOCK_OWNER;
// throw new JDOMException("Expected <"+E_OWNER+"> element");
- }
+ return;
+ }
StringWriter stringWriter = new StringWriter();
XMLOutputter xmlOutputter = new XMLOutputter();
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>