jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1064690 - in /jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav: ./ bind/ client/methods/ io/ lock/ observation/ property/ search/ security/ security/report/ transaction/ version/ version/report/ xml/
Date Fri, 28 Jan 2011 14:20:49 GMT
Author: angela
Date: Fri Jan 28 14:20:47 2011
New Revision: 1064690

URL: http://svn.apache.org/viewvc?rev=1064690&view=rev
Log:
javadoc, minor improvements

Modified:
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/AbstractLocatorFactory.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavException.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavMethods.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavServletResponse.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/MultiStatus.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/MultiStatusResponse.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequest.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequestImpl.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavResponse.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/BindInfo.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/ParentElement.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/RebindInfo.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/UnbindInfo.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/client/methods/OrderPatchMethod.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/client/methods/PollMethod.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/io/OutputContext.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/ActiveLock.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/LockDiscovery.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/LockManager.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/SimpleLockManager.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/SupportedLock.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/DefaultEventType.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/EventDiscovery.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/ObservationDavServletResponse.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/Subscription.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/SubscriptionInfo.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/SubscriptionManager.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertyIterator.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertyName.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertySet.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/search/SearchConstants.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/search/SearchInfo.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/AclResource.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/report/PrincipalMatchReport.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/report/PrincipalSearchReport.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/report/SearchablePropertyReport.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/transaction/TransactionInfo.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/transaction/TxLockEntry.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/transaction/TxLockManager.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/DeltaVConstants.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/DeltaVResource.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/DeltaVServletRequest.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/LabelInfo.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/OptionsInfo.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/VersionControlledResource.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/WorkspaceResource.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/report/Report.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/xml/DomUtil.java

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/AbstractLocatorFactory.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/AbstractLocatorFactory.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/AbstractLocatorFactory.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/AbstractLocatorFactory.java Fri Jan 28 14:20:47 2011
@@ -136,7 +136,7 @@ public abstract class AbstractLocatorFac
 
     /**
      * Create a new <code>DavResourceLocator</code> from the specified prefix,
-     * workspace path and resource path, whithout modifying the specified Strings.
+     * workspace path and resource path, without modifying the specified Strings.
      * Note, that it is expected that the resource path starts with the
      * given workspace path unless both values are <code>null</code>.
      *

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavException.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavException.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavException.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavException.java Fri Jan 28 14:20:47 2011
@@ -28,7 +28,7 @@ import java.util.Properties;
 
 /**
  * <code>DavException</code> extends the {@link Exception} class in order
- * to simplify handling of exceptional situations occuring during processing
+ * to simplify handling of exceptional situations occurring during processing
  * of WebDAV requests and provides possibility to retrieve an Xml representation
  * of the error.
  */
@@ -91,7 +91,7 @@ public class DavException extends Except
      * {@link DavServletResponse}.
      * @param message Human readable error message.
      * @param cause Cause of this <code>DavException</code>.
-     * @param errorCondition Xml element providing detailled information about
+     * @param errorCondition Xml element providing detailed information about
      * the error. If the condition is not <code>null</code>, {@link #toXml(Document)}
      */
     public DavException(int errorCode, String message, Throwable cause, Element errorCondition) {

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavMethods.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavMethods.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavMethods.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavMethods.java Fri Jan 28 14:20:47 2011
@@ -30,7 +30,7 @@ public class DavMethods {
     private static Logger log = LoggerFactory.getLogger(DavMethods.class);
 
     /**
-     * A hashmap of webdav METHODS
+     * A map of WebDAV METHODS
      */
     private static Map<String, Integer> methodMap = new HashMap<String, Integer>();
 
@@ -296,7 +296,7 @@ public class DavMethods {
     }
 
     /**
-     * Static intializer for methodTable hashmap
+     * Static initializer for methodTable map
      */
     private static void addMethodCode(String method, int code) {
         methodMap.put(method, code);

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavServletResponse.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavServletResponse.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavServletResponse.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavServletResponse.java Fri Jan 28 14:20:47 2011
@@ -61,7 +61,7 @@ public interface DavServletResponse exte
     int SC_LOCKED = 423;
 
     /**
-     * Status code (424) incidating that the method could not be
+     * Status code (424) indicating that the method could not be
      * performed on the resource, because the requested action depended
      * on another action which failed.
      */
@@ -76,7 +76,7 @@ public interface DavServletResponse exte
 
     /**
      * Send a response body given more detailed information about the error
-     * occured.
+     * occurred.
      *
      * @param error
      * @throws IOException

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/MultiStatus.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/MultiStatus.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/MultiStatus.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/MultiStatus.java Fri Jan 28 14:20:47 2011
@@ -77,7 +77,7 @@ public class MultiStatus implements DavC
      * @param propNameSet The requested property names of the PROPFIND request
      * @param depth
      * @see #addResourceProperties(DavResource, DavPropertyNameSet, int, int) for
-     * the corresponding method that allows to specify the type explicitely.
+     * the corresponding method that allows to specify the type.
      */
     public void addResourceProperties(DavResource resource, DavPropertyNameSet propNameSet,
                                       int depth) {

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/MultiStatusResponse.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/MultiStatusResponse.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/MultiStatusResponse.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/MultiStatusResponse.java Fri Jan 28 14:20:47 2011
@@ -134,7 +134,7 @@ public class MultiStatusResponse impleme
     }
 
     /**
-     * Constucts a WebDAV multistatus response and retrieves the resource
+     * Constructs a WebDAV multistatus response and retrieves the resource
      * properties according to the given <code>DavPropertyNameSet</code>.
      *
      * @param resource

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequest.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequest.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequest.java Fri Jan 28 14:20:47 2011
@@ -24,7 +24,7 @@ import org.apache.jackrabbit.webdav.bind
 
 /**
  * The empty <code>WebdavRequest</code> interface collects the functionality
- * defined by {@link org.apache.jackrabbit.webdav.DavServletRequest} encapsulting
+ * defined by {@link org.apache.jackrabbit.webdav.DavServletRequest} encapsulating
  * the core Webdav specification (RFC 2518) as well as the various extensions
  * used for observation and transaction support, ordering of collections, search
  * and versioning.

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequestImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequestImpl.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequestImpl.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequestImpl.java Fri Jan 28 14:20:47 2011
@@ -263,7 +263,7 @@ public class WebdavRequestImpl implement
     }
 
     /**
-     * Retrive the lock token from the 'Lock-Token' header.
+     * Retrieve the lock token from the 'Lock-Token' header.
      *
      * @return String representing the lock token sent in the Lock-Token header.
      * @throws IllegalArgumentException If the value has not the correct format.
@@ -493,7 +493,7 @@ public class WebdavRequestImpl implement
      * then only provides timeout and isDeep property and returns true on
      * {@link org.apache.jackrabbit.webdav.lock.LockInfo#isRefreshLock()}
      *
-     * @return lock info object or <code>null</code> if an error occured while
+     * @return lock info object or <code>null</code> if an error occurred while
      *         parsing the request body.
      * @throws DavException throws a 400 (Bad Request) DavException if a request
      * body is present but does not start with a DAV:lockinfo element. Note however,

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavResponse.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavResponse.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavResponse.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavResponse.java Fri Jan 28 14:20:47 2011
@@ -20,7 +20,7 @@ import org.apache.jackrabbit.webdav.obse
 
 /**
  * The empty <code>WebdavResponse</code> interface collects the functionality
- * defined by {@link org.apache.jackrabbit.webdav.DavServletResponse} encapsulting
+ * defined by {@link org.apache.jackrabbit.webdav.DavServletResponse} encapsulating
  * for the core WebDAV specification (RFC 2518) as well as the various extensions
  * used for observation and transaction support, ordering of collections, search
  * and versioning.

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/BindInfo.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/BindInfo.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/BindInfo.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/BindInfo.java Fri Jan 28 14:20:47 2011
@@ -68,14 +68,14 @@ public class BindInfo implements XmlSeri
                 if (segment == null) {
                     segment = DomUtil.getText(elt);
                 } else {
-                    log.warn("unexpected multiple occurence of DAV:segment element");
+                    log.warn("unexpected multiple occurrence of DAV:segment element");
                     throw new DavException(DavServletResponse.SC_BAD_REQUEST);
                 }
             } else if (DomUtil.matches(elt, BindConstants.XML_HREF, BindConstants.NAMESPACE)) {
                 if (href == null) {
                     href = DomUtil.getText(elt);
                 } else {
-                    log.warn("unexpected multiple occurence of DAV:href element");
+                    log.warn("unexpected multiple occurrence of DAV:href element");
                     throw new DavException(DavServletResponse.SC_BAD_REQUEST);
                 }
             } else  {

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/ParentElement.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/ParentElement.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/ParentElement.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/ParentElement.java Fri Jan 28 14:20:47 2011
@@ -71,14 +71,14 @@ public class ParentElement implements Xm
                 if (segment == null) {
                     segment = DomUtil.getText(elt);
                 } else {
-                    log.warn("unexpected multiple occurence of DAV:segment element");
+                    log.warn("unexpected multiple occurrence of DAV:segment element");
                     throw new DavException(DavServletResponse.SC_BAD_REQUEST);
                 }
             } else if (DomUtil.matches(elt, BindConstants.XML_HREF, BindConstants.NAMESPACE)) {
                 if (href == null) {
                     href = DomUtil.getText(elt);
                 } else {
-                    log.warn("unexpected multiple occurence of DAV:href element");
+                    log.warn("unexpected multiple occurrence of DAV:href element");
                     throw new DavException(DavServletResponse.SC_BAD_REQUEST);
                 }
             } else  {

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/RebindInfo.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/RebindInfo.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/RebindInfo.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/RebindInfo.java Fri Jan 28 14:20:47 2011
@@ -68,14 +68,14 @@ public class RebindInfo implements XmlSe
                 if (segment == null) {
                     segment = DomUtil.getText(elt);
                 } else {
-                    log.warn("unexpected multiple occurence of DAV:segment element");
+                    log.warn("unexpected multiple occurrence of DAV:segment element");
                     throw new DavException(DavServletResponse.SC_BAD_REQUEST);
                 }
             } else if (DomUtil.matches(elt, BindConstants.XML_HREF, BindConstants.NAMESPACE)) {
                 if (href == null) {
                     href = DomUtil.getText(elt);
                 } else {
-                    log.warn("unexpected multiple occurence of DAV:href element");
+                    log.warn("unexpected multiple occurrence of DAV:href element");
                     throw new DavException(DavServletResponse.SC_BAD_REQUEST);
                 }
             } else  {

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/UnbindInfo.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/UnbindInfo.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/UnbindInfo.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/bind/UnbindInfo.java Fri Jan 28 14:20:47 2011
@@ -63,7 +63,7 @@ public class UnbindInfo implements XmlSe
                 if (segment == null) {
                     segment = DomUtil.getText(elt);
                 } else {
-                    log.warn("unexpected multiple occurence of DAV:segment element");
+                    log.warn("unexpected multiple occurrence of DAV:segment element");
                     throw new DavException(DavServletResponse.SC_BAD_REQUEST);
                 }
             } else  {

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/client/methods/OrderPatchMethod.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/client/methods/OrderPatchMethod.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/client/methods/OrderPatchMethod.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/client/methods/OrderPatchMethod.java Fri Jan 28 14:20:47 2011
@@ -68,20 +68,20 @@ public class OrderPatchMethod extends Da
     /**
      * Create a new <code>OrderPatchMethod</code> that reorders the members
      * of the resource identified by 'uri': the member identified by 'memberSegment'
-     * is reordered before or after the member identified by 'targetMemberSegmet'.<br>
+     * is reordered before or after the member identified by 'targetMemberSegment'.<br>
      * See the constructor taking an <code>OrderPatch</code> object for a ORDERPATCH call
      * that reorders multiple members at once.
      *
      * @param uri
      * @param orderingType href String identifying the ordering type
      * @param memberSegment
-     * @param targetMemberSegmet
+     * @param targetMemberSegment
      * @param before
      */
-    public OrderPatchMethod(String uri, String orderingType, String memberSegment, String targetMemberSegmet, boolean before) throws IOException {
+    public OrderPatchMethod(String uri, String orderingType, String memberSegment, String targetMemberSegment, boolean before) throws IOException {
         super(uri);
         String orderPosition = (before) ? OrderingConstants.XML_BEFORE : OrderingConstants.XML_AFTER;
-        Position p = new Position(orderPosition, targetMemberSegmet);
+        Position p = new Position(orderPosition, targetMemberSegment);
         OrderPatch op = new OrderPatch(orderingType, new OrderPatch.Member(memberSegment, p));
         setRequestBody(op);
     }

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/client/methods/PollMethod.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/client/methods/PollMethod.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/client/methods/PollMethod.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/client/methods/PollMethod.java Fri Jan 28 14:20:47 2011
@@ -35,7 +35,7 @@ import org.w3c.dom.Document;
 import java.io.IOException;
 
 /**
- * <code>PollMethod</code> imple
+ * <code>PollMethod</code> implementation.
  */
 public class PollMethod extends DavMethodBase implements ObservationConstants {
 

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/io/OutputContext.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/io/OutputContext.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/io/OutputContext.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/io/OutputContext.java Fri Jan 28 14:20:47 2011
@@ -64,7 +64,7 @@ public interface OutputContext {
     public void setModificationTime(long modificationTime);
 
     /**
-     * Sets the ETag of the resource. A successfull export command
+     * Sets the ETag of the resource. A successful export command
      * may set this member.
      *
      * @param etag the ETag

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/ActiveLock.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/ActiveLock.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/ActiveLock.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/ActiveLock.java Fri Jan 28 14:20:47 2011
@@ -67,7 +67,7 @@ public interface ActiveLock extends XmlS
      * or -1 if the timeout is not available (or the client is not allowed
      * to retrieve it).
      *
-     * @return numer of milliseconds.
+     * @return number of milliseconds.
      */
     public long getTimeout();
 

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/LockDiscovery.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/LockDiscovery.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/LockDiscovery.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/LockDiscovery.java Fri Jan 28 14:20:47 2011
@@ -38,7 +38,7 @@ public class LockDiscovery extends Abstr
      * Listing of existing locks applied to the resource this discovery was
      * requested for. Each entry reveals, who has a lock, what type of lock he has,
      * the timeout type and the time remaining on the timeout, and the lock-type.
-     * NOTE, that any of the information listed may be not availble for the
+     * NOTE, that any of the information listed may be not available for the
      * server is free to withhold any or all of this information.
      */
     private List<ActiveLock> activeLocks = new ArrayList<ActiveLock>();

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/LockManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/LockManager.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/LockManager.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/LockManager.java Fri Jan 28 14:20:47 2011
@@ -37,7 +37,7 @@ public interface LockManager {
 
     /**
      * Refresh the lock identified by the given lockToken and initially created
-     * on the specified resouce. The update information can be retrieved from
+     * on the specified resource. The update information can be retrieved from
      * the lockInfo object passes.
      *
      * @param lockInfo
@@ -51,7 +51,7 @@ public interface LockManager {
 
     /**
      * Release the lock identified by the given lockToken and initially created
-     * on the specified resouce.
+     * on the specified resource.
      *
      * @param lockToken
      * @param resource

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/SimpleLockManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/SimpleLockManager.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/SimpleLockManager.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/SimpleLockManager.java Fri Jan 28 14:20:47 2011
@@ -65,7 +65,8 @@ public class SimpleLockManager implement
     }
 
     /**
-     * Recursivly tries to find the lock
+     * Looks for a valid lock at the given path or a deep lock present with
+     * a parent path.
      *
      * @param path
      * @return

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/SupportedLock.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/SupportedLock.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/SupportedLock.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/lock/SupportedLock.java Fri Jan 28 14:20:47 2011
@@ -26,7 +26,7 @@ import java.util.Iterator;
 import java.util.List;
 
 /**
- * The <code>SupportedLock</code> class encapsulates the lock capabilties
+ * The <code>SupportedLock</code> class encapsulates the lock capabilities
  * of a resource. It is mainly responsible for generating the &lt;supportedlock>
  * property.
  */

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/DefaultEventType.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/DefaultEventType.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/DefaultEventType.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/DefaultEventType.java Fri Jan 28 14:20:47 2011
@@ -41,7 +41,7 @@ public class DefaultEventType implements
     private final Namespace namespace;
 
     /**
-     * Avoid instanciation of <code>DefaultEventType</code>. Since the amount
+     * Avoid instantiation of <code>DefaultEventType</code>. Since the amount
      * of available (and registered) events is considered to be limited, the
      * static {@link #create(String, Namespace) method is defined.
      *

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/EventDiscovery.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/EventDiscovery.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/EventDiscovery.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/EventDiscovery.java Fri Jan 28 14:20:47 2011
@@ -28,8 +28,8 @@ import java.util.Iterator;
 import java.util.List;
 
 /**
- * <code>EventDiscovery</code> represents the request body of a successfull
- * POLL request. It reveals all events that occured since the last POLL. The
+ * <code>EventDiscovery</code> represents the request body of a successful
+ * POLL request. It reveals all events that occurred since the last POLL. The
  * definition what events that particular subscription is interested in was
  * specified with the initial SUBSCRIPTION that started the event listening.
  */

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/ObservationDavServletResponse.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/ObservationDavServletResponse.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/ObservationDavServletResponse.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/ObservationDavServletResponse.java Fri Jan 28 14:20:47 2011
@@ -29,17 +29,17 @@ public interface ObservationDavServletRe
     /**
      * Send the response to a successful SUBSCRIBE request.
      *
-     * @param subsription that needs to be represented in the response body.
+     * @param subscription that needs to be represented in the response body.
      * @throws IOException
      */
-    public void sendSubscriptionResponse(Subscription subsription) throws IOException;
+    public void sendSubscriptionResponse(Subscription subscription) throws IOException;
 
     /**
-     * Send the response to a sucessful POLL request.
+     * Send the response to a successful POLL request.
      *
-     * @param eventdiscovery {@link EventDiscovery} object to be returned in
+     * @param eventDiscovery {@link EventDiscovery} object to be returned in
      * the response body.
      * @throws IOException
      */
-    public void sendPollResponse(EventDiscovery eventdiscovery) throws IOException;
+    public void sendPollResponse(EventDiscovery eventDiscovery) throws IOException;
 }
\ No newline at end of file

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/Subscription.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/Subscription.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/Subscription.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/Subscription.java Fri Jan 28 14:20:47 2011
@@ -22,7 +22,7 @@ import org.apache.jackrabbit.webdav.xml.
  * <code>Subscription</code> represents public representation of the event
  * listener created (or modified) by a successful SUBSCRIBE request.<br>
  * Please note that this interface extends the <code>XmlSerializable</code>
- * interface. Tthe Xml representation of a <code>Subscription</code> is
+ * interface. The Xml representation of a <code>Subscription</code> is
  * returned in the response to a successful SUBSCRIBE request as well
  * as in a PROPFIND request. In both cases the subscription is packed into
  * a {@link SubscriptionDiscovery} property object.
@@ -30,7 +30,7 @@ import org.apache.jackrabbit.webdav.xml.
 public interface Subscription extends XmlSerializable {
 
     /**
-     * Returns the id of this subscription, that must be used for unsubscribing
+     * Returns the id of this subscription, that must be used for un-subscribing
      * as well as for event discovery later on.
      *
      * @return subscriptionId

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/SubscriptionInfo.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/SubscriptionInfo.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/SubscriptionInfo.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/SubscriptionInfo.java Fri Jan 28 14:20:47 2011
@@ -168,7 +168,7 @@ public class SubscriptionInfo implements
     /**
      * Return array of filters with the specified name.
      *
-     * @param localName the filter elments must provide.
+     * @param localName the filter elements must provide.
      * @param namespace
      * @return array containing the text of the filter elements with the given
      * name.

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/SubscriptionManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/SubscriptionManager.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/SubscriptionManager.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/observation/SubscriptionManager.java Fri Jan 28 14:20:47 2011
@@ -56,9 +56,9 @@ public interface SubscriptionManager {
             throws DavException;
 
     /**
-     * Retrieve the list of events that occured since the last poll.
+     * Retrieve the list of events that occurred since the last poll.
      *
-     * @param subscriptionId indentifier for the subscription
+     * @param subscriptionId identifier for the subscription
      * @param timeout        the time in milliseconds to wait at most for events
      *                       if none is present currently.
      * @param resource

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertyIterator.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertyIterator.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertyIterator.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertyIterator.java Fri Jan 28 14:20:47 2011
@@ -25,7 +25,7 @@ import java.util.NoSuchElementException;
  */
 public interface DavPropertyIterator extends Iterator<DavProperty<?>> {
     /**
-     * Returns the next <code>Property</code> in the interation.
+     * Returns the next <code>Property</code>.
      *
      * @return the next <code>Property</code> in the iteration.
      * @throws java.util.NoSuchElementException if iteration has no more elements.

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertyName.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertyName.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertyName.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertyName.java Fri Jan 28 14:20:47 2011
@@ -27,8 +27,8 @@ import java.util.HashMap;
 import java.util.Map;
 
 /**
- * The <code>DavPropertyName</code> class reflects a Webdav property name. It
- * holds together the actualy name of the property and its namespace.
+ * The <code>DavPropertyName</code> class reflects a WebDAV property name. It
+ * holds together the local name of the property and its namespace.
  */
 public class DavPropertyName implements DavConstants, XmlSerializable, PropEntry {
 
@@ -154,7 +154,7 @@ public class DavPropertyName implements 
     }
 
     /**
-     * Computes the hash code using this propertys name and namespace.
+     * Computes the hash code using this properties name and namespace.
      *
      * @return the hash code
      */

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertySet.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertySet.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertySet.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertySet.java Fri Jan 28 14:20:47 2011
@@ -224,7 +224,7 @@ public class DavPropertySet extends Prop
      */
     private class PropIter implements DavPropertyIterator {
 
-        /** the namespace to match agains */
+        /** the namespace to match against */
         private final Namespace namespace;
 
         /** the internal iterator */

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/search/SearchConstants.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/search/SearchConstants.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/search/SearchConstants.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/search/SearchConstants.java Fri Jan 28 14:20:47 2011
@@ -45,7 +45,7 @@ public interface SearchConstants {
 
     //---< Headers >------------------------------------------------------------
     /**
-     * The DASL response header specifing the query languages supported by
+     * The DASL response header specifying the query languages supported by
      * the requested resource.
      */
     public static final String HEADER_DASL = "DASL";

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/search/SearchInfo.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/search/SearchInfo.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/search/SearchInfo.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/search/SearchInfo.java Fri Jan 28 14:20:47 2011
@@ -128,7 +128,7 @@ public class SearchInfo implements Searc
     /**
      * Returns the namespace of the language specified with the search request element.
      *
-     * @return namespace of the requestes language.
+     * @return namespace of the requested language.
      */
     public Namespace getLanguageNameSpace() {
         return languageNamespace;

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/AclResource.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/AclResource.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/AclResource.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/AclResource.java Fri Jan 28 14:20:47 2011
@@ -50,7 +50,7 @@ public interface AclResource extends Dav
      * If these conditions are violated, this method must fail with
      * {@link DavServletResponse#SC_FORBIDDEN 403 (Forbidden)} or
      * {@link DavServletResponse#SC_CONFLICT 409 (Conflict)} and should provide
-     * a detailled error condition in the response body. See
+     * a detailed error condition in the response body. See
      * <a href="http://www.ietf.org/rfc/rfc3744.txt">RFC 3744 Section 8.1.1
      * (ACL Preconditions)</a> for further details.
      */
@@ -62,7 +62,7 @@ public interface AclResource extends Dav
      * @param reportInfo specifying the report details retrieved from the REPORT
      * request.
      * @return the requested report.
-     * @throws DavException in case an error occured or if the specified
+     * @throws DavException in case an error occurred or if the specified
      * <code>ReportInfo</code> is either not valid or cannot be run by this
      * resource.
      */

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/report/PrincipalMatchReport.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/report/PrincipalMatchReport.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/report/PrincipalMatchReport.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/report/PrincipalMatchReport.java Fri Jan 28 14:20:47 2011
@@ -42,7 +42,7 @@ import org.w3c.dom.Element;
  * &lt;!ELEMENT principal-match ((principal-property | self), prop?)&gt;
  * &lt;!ELEMENT principal-property ANY&gt;
  * ANY value: an element whose value identifies a property. The value of this
- * property typically contains an href element refering to a principal.
+ * property typically contains an href element referring to a principal.
  * &lt;!ELEMENT self EMPTY&gt;
  * prop: see RFC 2518, Section 12.11
  * </pre>

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/report/PrincipalSearchReport.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/report/PrincipalSearchReport.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/report/PrincipalSearchReport.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/report/PrincipalSearchReport.java Fri Jan 28 14:20:47 2011
@@ -129,7 +129,7 @@ public class PrincipalSearchReport exten
     }
 
     /**
-     * Retrive the search arguments used to run the search for principals.<br>
+     * Retrieve the search arguments used to run the search for principals.<br>
      * Note, that the search result must be converted to {@link MultiStatusResponse}s
      * that must be returned back to this report.
      *

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/report/SearchablePropertyReport.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/report/SearchablePropertyReport.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/report/SearchablePropertyReport.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/security/report/SearchablePropertyReport.java Fri Jan 28 14:20:47 2011
@@ -54,7 +54,7 @@ import java.util.Set;
  *  be indicated by the xml:lang attribute.
  * </pre>
  *
- * Note that a DAV:principal-search-property XML element is requiered for each
+ * Note that a DAV:principal-search-property XML element is required for each
  * property that may be searched with the DAV:principal-property-search REPORT.
  */
 public class SearchablePropertyReport implements Report {

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/transaction/TransactionInfo.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/transaction/TransactionInfo.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/transaction/TransactionInfo.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/transaction/TransactionInfo.java Fri Jan 28 14:20:47 2011
@@ -26,7 +26,7 @@ import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 
 /**
- * <code>TransactionInfo</code> class encapsultes the information present
+ * <code>TransactionInfo</code> class encapsulates the information present
  * in the {@link #XML_TRANSACTIONINFO} element that forms the request body of
  * the UNLOCk request for a transaction lock.
  *

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/transaction/TxLockEntry.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/transaction/TxLockEntry.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/transaction/TxLockEntry.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/transaction/TxLockEntry.java Fri Jan 28 14:20:47 2011
@@ -59,7 +59,7 @@ public final class TxLockEntry extends A
 
     /**
      * Returns either {@link #LOCAL local} or {@link #GLOBAL global} scope
-     * depending on the initial construtor value.
+     * depending on the initial constructor value.
      *
      * @return returns 'global' or 'local' scope.
      * @see org.apache.jackrabbit.webdav.lock.LockEntry#getScope()

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/transaction/TxLockManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/transaction/TxLockManager.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/transaction/TxLockManager.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/transaction/TxLockManager.java Fri Jan 28 14:20:47 2011
@@ -29,7 +29,7 @@ import org.apache.jackrabbit.webdav.lock
  * todo: removing all expired locks
  * todo: 'local' and 'global' are not accurate terms in the given context > replace
  * todo: the usage of the 'global' transaction is not according to the JTA specification,
- * which explicitely requires any transaction present on a servlet to be completed before
+ * which explicitly requires any transaction present on a servlet to be completed before
  * the service method returns. Starting/completing transactions on the session object,
  * which is possible with the jackrabbit implementation is a hack.
  * todo: review of this transaction part is therefore required. Is there a use-case

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/DeltaVConstants.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/DeltaVConstants.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/DeltaVConstants.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/DeltaVConstants.java Fri Jan 28 14:20:47 2011
@@ -22,7 +22,7 @@ import org.apache.jackrabbit.webdav.xml.
 
 /**
  * <code>DeltaVConstants</code> defines the following headers and properties
- * required for any resource that is complient to
+ * required for any resource that is compliant to
  * <a href="http://www.ietf.org/rfc/rfc3253.txt">RFC 3253</a>:<br><br>
  *
  * Headers:
@@ -96,8 +96,8 @@ public interface DeltaVConstants {
     public static final DavPropertyName CREATOR_DISPLAYNAME = DavPropertyName.create("creator-displayname", NAMESPACE);
 
     /**
-     * Required protected live property for any resources being complient with
-     * RFC 3253. Clients should classify a resource by examing the values of the
+     * Required protected live property for any resources being compliant with
+     * RFC 3253. Clients should classify a resource by examine the values of the
      * DAV:supported-method-set and DAV:supported-live-property-set
      * properties of that resource.<br>
      * Property structure:
@@ -113,8 +113,8 @@ public interface DeltaVConstants {
     public static final DavPropertyName SUPPORTED_METHOD_SET = DavPropertyName.create("supported-method-set", NAMESPACE);
 
     /**
-     * Required protected live property for any resources being complient with
-     * RFC 3253. Clients should classify a resource by examing the values of the
+     * Required protected live property for any resources being compliant with
+     * RFC 3253. Clients should classify a resource by examine the values of the
      * DAV:supported-method-set and DAV:supported-live-property-set
      * properties of that resource.<br>
      * Property structure:

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/DeltaVResource.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/DeltaVResource.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/DeltaVResource.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/DeltaVResource.java Fri Jan 28 14:20:47 2011
@@ -23,7 +23,7 @@ import org.apache.jackrabbit.webdav.vers
 import org.apache.jackrabbit.webdav.version.report.ReportInfo;
 
 /**
- * The <code>DeltaVResource</code> encapsultes the functionality common to all
+ * The <code>DeltaVResource</code> encapsulates the functionality common to all
  * DeltaV compliant resources.
  * <p/>
  * RFC 3253 defines the following required properties:
@@ -48,7 +48,7 @@ import org.apache.jackrabbit.webdav.vers
 public interface DeltaVResource extends DavResource {
 
     /**
-     * The generic deltaV complient resource defines one additional method REPORT.
+     * The generic deltaV compliant resource defines one additional method REPORT.
      *
      * @see org.apache.jackrabbit.webdav.DavResource#METHODS
      */
@@ -77,7 +77,7 @@ public interface DeltaVResource extends 
      *
      * @param reportInfo
      * @return the requested report.
-     * @throws DavException in case an error occured or if the specified <code>ReportInfo</code>
+     * @throws DavException in case an error occurred or if the specified <code>ReportInfo</code>
      * is either not valid or cannot be run by the given resource.
      */
     public Report getReport(ReportInfo reportInfo) throws DavException;

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/DeltaVServletRequest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/DeltaVServletRequest.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/DeltaVServletRequest.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/DeltaVServletRequest.java Fri Jan 28 14:20:47 2011
@@ -66,7 +66,7 @@ public interface DeltaVServletRequest ex
      * Returns the request body and the Depth header as <code>ReportInfo</code>
      * object. The default depth, if no {@link org.apache.jackrabbit.webdav.DavConstants#HEADER_DEPTH
      * Depth header}, is {@link org.apache.jackrabbit.webdav.DavConstants#DEPTH_0}.
-     * If the requuest body could not be parsed into an {@link org.w3c.dom.Element}
+     * If the request body could not be parsed into an {@link org.w3c.dom.Element}
      * <code>null</code> is returned.
      *
      * @return <code>ReportInfo</code> or <code>null</code>

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/LabelInfo.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/LabelInfo.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/LabelInfo.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/LabelInfo.java Fri Jan 28 14:20:47 2011
@@ -31,7 +31,7 @@ import org.w3c.dom.Element;
  * used to add, set or remove a label from the requested version resource or
  * from that version specified with the Label header in case the requested resource
  * is a version-controlled resource.<br><br>
- * The request body (thus the 'labelElement' passed to the constructore must be
+ * The request body (thus the 'labelElement' passed to the constructor must be
  * a DAV:label element:
  * <pre>
  * &lt;!ELEMENT label ANY&gt;

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/OptionsInfo.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/OptionsInfo.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/OptionsInfo.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/OptionsInfo.java Fri Jan 28 14:20:47 2011
@@ -39,7 +39,7 @@ import java.util.Arrays;
  *
  * <pre>
  * &lt;!ELEMENT options ANY&gt;
- * ANY value: A sequence of elements each at most onces.
+ * ANY value: A sequence of elements each at most once.
  * </pre>
  *
  * Note, that this is a simplified implementation of the very generic

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/VersionControlledResource.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/VersionControlledResource.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/VersionControlledResource.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/VersionControlledResource.java Fri Jan 28 14:20:47 2011
@@ -107,7 +107,7 @@ public interface VersionControlledResour
      * The DAV:auto-version property determines how it responds to a method that
      * attempts to modify its content or dead properties. Possible responses
      * include various combinations of automated checkout, write lock and checkin
-     * as well as failure until the resource is explicitely checked-out.<br>
+     * as well as failure until the resource is explicitly checked-out.<br>
      * See <a href="http://www.ietf.org/rfc/rfc3253.txt">RFC 3253</a> for a detailed
      * description.
      */

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/WorkspaceResource.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/WorkspaceResource.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/WorkspaceResource.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/WorkspaceResource.java Fri Jan 28 14:20:47 2011
@@ -26,10 +26,10 @@ import org.apache.jackrabbit.webdav.prop
  * RFC 3253 defines the following required live properties for an Workspace
  * resource.
  * <ul>
+ * <li>all DeltaV-compliant resource properties</li>
  * <li>{@link #WORKSPACE_CHECKOUT_SET DAV:workspace-checkout-set}</li>
- * <li>all DeltaV-compliant resource properties}</li>
- * <li>DAV:baseline-controlled-collection-set (baseline)</li>
- * <li>DAV:current-activity-set (activity)</li>
+ * <li>{@link #BASELINE_CONTROLLED_COLLECTION_SET DAV:baseline-controlled-collection-set} (baseline)</li>
+ * <li>{@link #CURRENT_ACTIVITY_SET DAV:current-activity-set} (activity)</li>
  * </ul>
  * Note, that RFC 3253 doesn't define a separate resource type for a workspace.<p/>
  *
@@ -54,6 +54,11 @@ public interface WorkspaceResource exten
     public static final DavPropertyName WORKSPACE_CHECKOUT_SET = DavPropertyName.create("workspace-checkout-set", DeltaVConstants.NAMESPACE);
 
     /**
+     * @deprecated Use {@link #CURRENT_ACTIVITY_SET} instead.
+     */
+    public static final DavPropertyName CUURENT_ACTIVITY_SET = DavPropertyName.create("current-activity-set", DeltaVConstants.NAMESPACE);
+
+    /**
      * DAV:current-activity-set is a required property for a workspace resource,
      * if the server supports the activity feature.<br>
      * It identifies the activities that currently are being performed in this
@@ -70,7 +75,7 @@ public interface WorkspaceResource exten
      * Note that the DAV:current-activity-set represents a
      * {@link org.apache.jackrabbit.webdav.property.HrefProperty HrefProperty}
      */
-    public static final DavPropertyName CUURENT_ACTIVITY_SET = DavPropertyName.create("current-activity-set", DeltaVConstants.NAMESPACE);
+    public static final DavPropertyName CURRENT_ACTIVITY_SET = DavPropertyName.create("current-activity-set", DeltaVConstants.NAMESPACE);
 
     /**
      * The Baseline feature (section 12) defines the following computed property

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/report/Report.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/report/Report.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/report/Report.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/version/report/Report.java Fri Jan 28 14:20:47 2011
@@ -52,7 +52,7 @@ public interface Report extends XmlSeria
      * and the <code>ReportInfo</code> as specified by the REPORT request body,
      * that defines the details for this report.<br>
      * Please note that this methods should perform basic validation checks
-     * in order to prevent execeptional situations during the xml serialization.
+     * in order to prevent exceptional situations during the xml serialization.
      *
      * @param resource
      * @param info

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/xml/DomUtil.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/xml/DomUtil.java?rev=1064690&r1=1064689&r2=1064690&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/xml/DomUtil.java (original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/xml/DomUtil.java Fri Jan 28 14:20:47 2011
@@ -91,8 +91,8 @@ public class DomUtil {
             throws ParserConfigurationException, SAXException, IOException {
         DocumentBuilder docBuilder = BUILDER_FACTORY.newDocumentBuilder();
 
-        // Set an error handler to prevent parsers like Xerces
-        // from printing error messages to standard output!
+        // Set an error handler to prevent parsers from printing error messages
+        // to standard output!
         docBuilder.setErrorHandler(new DefaultHandler());
 
         return docBuilder.parse(stream);



Mime
View raw message