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 an...@apache.org on 2007/02/25 21:44:53 UTC

svn commit: r511601 - in /jakarta/slide/trunk: WHATSNEW src/webdav/server/org/apache/slide/webdav/method/AbstractMultistatusResponseMethod.java

Author: antoine
Date: Sun Feb 25 12:44:52 2007
New Revision: 511601

URL: http://svn.apache.org/viewvc?view=rev&rev=511601
Log:
make the javadoc of generateMultiStatusResponse method conform with the implementation, inspired by Buzilla 41489

Modified:
    jakarta/slide/trunk/WHATSNEW
    jakarta/slide/trunk/src/webdav/server/org/apache/slide/webdav/method/AbstractMultistatusResponseMethod.java

Modified: jakarta/slide/trunk/WHATSNEW
URL: http://svn.apache.org/viewvc/jakarta/slide/trunk/WHATSNEW?view=diff&rev=511601&r1=511600&r2=511601
==============================================================================
--- jakarta/slide/trunk/WHATSNEW (original)
+++ jakarta/slide/trunk/WHATSNEW Sun Feb 25 12:44:52 2007
@@ -27,3 +27,5 @@
 * Migrate to Lucene 2.1.0
   Bugzilla 40915.
 
+* Fix javadoc of method org.apache.slide.webdav.method.AbstractMultistatusResponseMethod#generateMultiStatusResponse()
+  javadoc was in contradiction with implementation. Inspired by Bugzilla 41489.

Modified: jakarta/slide/trunk/src/webdav/server/org/apache/slide/webdav/method/AbstractMultistatusResponseMethod.java
URL: http://svn.apache.org/viewvc/jakarta/slide/trunk/src/webdav/server/org/apache/slide/webdav/method/AbstractMultistatusResponseMethod.java?view=diff&rev=511601&r1=511600&r2=511601
==============================================================================
--- jakarta/slide/trunk/src/webdav/server/org/apache/slide/webdav/method/AbstractMultistatusResponseMethod.java (original)
+++ jakarta/slide/trunk/src/webdav/server/org/apache/slide/webdav/method/AbstractMultistatusResponseMethod.java Sun Feb 25 12:44:52 2007
@@ -103,9 +103,15 @@
     }
 
     /**
-     * Checks if a 207 should be generated. A 207 is generated when the request URI is a
-     * collection and exactely one nested exception is present and the request URI and
-     * the nested exception URI are identical.
+     * Checks if a 207 should be generated.
+     * <p>A 207 is generated when the request URI is a
+     * collection and one of the following conditions is true :
+     * <ul>
+     * <li>more than one nested exception is present</li>
+     * <li>exactly one nested exception is presend  and the request URI and
+     * the nested exception URI are different.</li>
+     * </ul>
+     * </p>
      *
      * @return boolean return true, if a 207 response code should be generated
      */



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