jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r618604 - /jackrabbit/branches/1.4/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java
Date Tue, 05 Feb 2008 10:36:56 GMT
Author: jukka
Date: Tue Feb  5 02:36:55 2008
New Revision: 618604

URL: http://svn.apache.org/viewvc?rev=618604&view=rev
Log:
1.4: Merged revision 615194 (JCR-1345)

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

Modified: jackrabbit/branches/1.4/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.4/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java?rev=618604&r1=618603&r2=618604&view=diff
==============================================================================
--- jackrabbit/branches/1.4/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java
(original)
+++ jackrabbit/branches/1.4/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java
Tue Feb  5 02:36:55 2008
@@ -454,7 +454,7 @@
                 if (failures.containsKey(o)) {
                     Object error = failures.get(o);
                     statusCode = (error instanceof RepositoryException)
-                        ? new JcrDavException((RepositoryException)o).getErrorCode()
+                        ? new JcrDavException((RepositoryException) error).getErrorCode()
                         : DavServletResponse.SC_INTERNAL_SERVER_ERROR;
                 } else {
                     statusCode = (failures.isEmpty()) ? DavServletResponse.SC_OK : DavServletResponse.SC_FAILED_DEPENDENCY;



Mime
View raw message