incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r760869 - in /incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets: SimpleWebDavServlet.java SlingSimpleWebDavServlet.java SlingWebDavServlet.java
Date Wed, 01 Apr 2009 12:49:14 GMT
Author: bdelacretaz
Date: Wed Apr  1 12:49:09 2009
New Revision: 760869

URL: http://svn.apache.org/viewvc?rev=760869&view=rev
Log:
SLING-907 - Rename SimpleWebDavServlet to avoid confusion with Jackrabbit's

Added:
    incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SlingSimpleWebDavServlet.java
      - copied, changed from r760812, incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SimpleWebDavServlet.java
Removed:
    incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SimpleWebDavServlet.java
Modified:
    incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SlingWebDavServlet.java

Copied: incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SlingSimpleWebDavServlet.java
(from r760812, incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SimpleWebDavServlet.java)
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SlingSimpleWebDavServlet.java?p2=incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SlingSimpleWebDavServlet.java&p1=incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SimpleWebDavServlet.java&r1=760812&r2=760869&rev=760869&view=diff
==============================================================================
--- incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SimpleWebDavServlet.java
(original)
+++ incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SlingSimpleWebDavServlet.java
Wed Apr  1 12:49:09 2009
@@ -30,15 +30,17 @@
 import org.apache.sling.jcr.webdav.impl.helper.SlingResourceConfig;
 
 /**
- * The <code>SimpleWebDavServlet</code>
+ * The <code>SlingSimpleWebDavServlet</code> extends the
+ * JCR <code>SimpleWebdavServlet</code> with some
+ * Sling-specific features
  */
-public class SimpleWebDavServlet extends SimpleWebdavServlet {
+public class SlingSimpleWebDavServlet extends SimpleWebdavServlet {
 
     private final SlingResourceConfig resourceConfig;
 
     private final Repository repository;
 
-    /* package */SimpleWebDavServlet(SlingResourceConfig resourceConfig,
+    /* package */ SlingSimpleWebDavServlet(SlingResourceConfig resourceConfig,
             Repository repository) {
         this.resourceConfig = resourceConfig;
         this.repository = repository;

Modified: incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SlingWebDavServlet.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SlingWebDavServlet.java?rev=760869&r1=760868&r2=760869&view=diff
==============================================================================
--- incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SlingWebDavServlet.java
(original)
+++ incubator/sling/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/servlets/SlingWebDavServlet.java
Wed Apr  1 12:49:09 2009
@@ -174,7 +174,7 @@
 
         // Register servlet, and set the contextPath field to signal successful
         // registration
-        Servlet simpleServlet = new SimpleWebDavServlet(resourceConfig,
+        Servlet simpleServlet = new SlingSimpleWebDavServlet(resourceConfig,
             getRepository());
         httpService.registerServlet(resourceConfig.getServletContextPath(),
             simpleServlet, resourceConfig.getServletInitParams(), null);



Mime
View raw message