jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1155286 - in /jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple: DavResourceImpl.java DeltaVResourceImpl.java
Date Tue, 09 Aug 2011 09:36:05 GMT
Author: angela
Date: Tue Aug  9 09:36:05 2011
New Revision: 1155286

URL: http://svn.apache.org/viewvc?rev=1155286&view=rev
Log:
minor improvement

Modified:
    jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java
    jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DeltaVResourceImpl.java

Modified: jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java?rev=1155286&r1=1155285&r2=1155286&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java
Tue Aug  9 09:36:05 2011
@@ -918,7 +918,7 @@ public class DavResourceImpl implements 
      * @return a new <code>PropertyImportContext</code>.
      */
     protected PropertyImportContext getPropertyImportContext(List<? extends PropEntry>
changeList) {
-        return new ProperyImportCtx(changeList);
+        return new PropertyImportCtx(changeList);
     }
 
     /**
@@ -1076,13 +1076,13 @@ public class DavResourceImpl implements 
         }
     }
 
-    private class ProperyImportCtx implements PropertyImportContext {
+    private class PropertyImportCtx implements PropertyImportContext {
 
         private final IOListener ioListener = new DefaultIOListener(log);
         private final List<? extends PropEntry> changeList;
         private boolean completed;
 
-        private ProperyImportCtx(List<? extends PropEntry> changeList) {
+        private PropertyImportCtx(List<? extends PropEntry> changeList) {
             this.changeList = changeList;
         }
 

Modified: jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DeltaVResourceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DeltaVResourceImpl.java?rev=1155286&r1=1155285&r2=1155286&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DeltaVResourceImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DeltaVResourceImpl.java
Tue Aug  9 09:36:05 2011
@@ -22,8 +22,6 @@ import javax.jcr.Item;
 import javax.jcr.Node;
 import javax.jcr.RepositoryException;
 import javax.jcr.Property;
-import javax.jcr.PathNotFoundException;
-import javax.jcr.ValueFormatException;
 
 import org.apache.jackrabbit.JcrConstants;
 import org.apache.jackrabbit.webdav.DavCompliance;
@@ -123,7 +121,7 @@ public class DeltaVResourceImpl extends 
             Report report = ReportType.getType(reportInfo).createReport(this, reportInfo);
             return report;
         } else {
-            throw new DavException(DavServletResponse.SC_UNPROCESSABLE_ENTITY, "Unkown report
"+ reportInfo.getReportName() +"requested.");
+            throw new DavException(DavServletResponse.SC_UNPROCESSABLE_ENTITY, "Unknown report
"+ reportInfo.getReportName() +"requested.");
         }
     }
 



Mime
View raw message