commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1367128 - in /commons/proper/vfs/trunk: core/src/main/java/org/apache/commons/vfs2/Resources.properties core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java src/changes/changes.xml
Date Mon, 30 Jul 2012 15:46:09 GMT
Author: ggregory
Date: Mon Jul 30 15:46:08 2012
New Revision: 1367128

URL: http://svn.apache.org/viewvc?rev=1367128&view=rev
Log:
[VFS-433] Message "vfs.provider.webdav/propfind.error" is not defined. Replaced "vfs.provider.webdav/propfind.error"
with three new references:
vfs.provider.webdav/get-attributes.error, vfs.provider.webdav/set-attributes.error, and vfs.provider.webdav/get-property.error.

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/Resources.properties
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java
    commons/proper/vfs/trunk/src/changes/changes.xml

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/Resources.properties
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/Resources.properties?rev=1367128&r1=1367127&r2=1367128&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/Resources.properties
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/Resources.properties
Mon Jul 30 15:46:08 2012
@@ -268,6 +268,9 @@ vfs.provider.webdav/create-collection.er
 vfs.provider.webdav/delete-file.error=Delete file failed with message: "{0}".
 vfs.provider.webdav/create-client.error=Could not create client for server "{0}".
 vfs.provider.webdav/rename-file.error=Rename file failed with message: "{0}".
+vfs.provider.webdav/get-attributes.error=Could not get attributes for: "{0}".
+vfs.provider.webdav/set-attributes.error=Could not set property "{1}" for: "{0}".
+vfs.provider.webdav/get-property.error=Could not get property for: "{0}", name="{1}", type="{2}",
nameSet="{3}", addEncoding="{4}".
 
 # Tar
 vfs.provider.tar/open-tar-file.error=Could not open Tar file "{0}".

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java?rev=1367128&r1=1367127&r2=1367128&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java
Mon Jul 30 15:46:08 2012
@@ -320,7 +320,7 @@ public class WebdavFileObject extends Ht
         }
         catch (Exception e)
         {
-            throw new FileSystemException("vfs.provider.webdav/propfind.error", getName(),
e);
+            throw new FileSystemException("vfs.provider.webdav/get-attributes.error", getName(),
e);
         }
     }
 
@@ -364,7 +364,7 @@ public class WebdavFileObject extends Ht
         }
         catch (Exception e)
         {
-            throw new FileSystemException("vfs.provider.webdav/propfind.error", getName(),
e);
+            throw new FileSystemException("vfs.provider.webdav/set-attributes", e, getName(),
attrName);
         }
     }
 
@@ -525,7 +525,8 @@ public class WebdavFileObject extends Ht
         }
         catch (Exception e)
         {
-            throw new FileSystemException("vfs.provider.webdav/propfind.error", getName(),
e);
+            throw new FileSystemException("vfs.provider.webdav/get-property.error", e, getName(),
name, type,
+                    nameSet.getContent(), addEncoding);
         }
     }
 

Modified: commons/proper/vfs/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/changes/changes.xml?rev=1367128&r1=1367127&r2=1367128&view=diff
==============================================================================
--- commons/proper/vfs/trunk/src/changes/changes.xml (original)
+++ commons/proper/vfs/trunk/src/changes/changes.xml Mon Jul 30 15:46:08 2012
@@ -23,6 +23,9 @@
 
   <body>
     <release version="2.1" date="TBD" description="New features and bug fix release.">
+      <action issue="VFS-433" dev="ggregory" type="add" due-to="ggregory">
+        Message "vfs.provider.webdav/propfind.error" is not defined.
+      </action>
       <action issue="VFS-430" dev="ggregory" type="add" due-to="antonin.stefanutti">
         The SoftRefFilesCache class logs clear text password.
       </action>



Mime
View raw message