jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r615194 - /jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.java
Date Fri, 25 Jan 2008 11:59:57 GMT
Author: angela
Date: Fri Jan 25 03:59:57 2008
New Revision: 615194

URL: http://svn.apache.org/viewvc?rev=615194&view=rev
Log:
JCR-1345: ClassCastException when updating properties using WebDAV

Modified:
    jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/webdav/simple/DavResourceImpl.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=615194&r1=615193&r2=615194&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
Fri Jan 25 03:59:57 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