commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1443013 - in /commons/proper/vfs/trunk: core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java src/changes/changes.xml
Date Wed, 06 Feb 2013 15:22:43 GMT
Author: ggregory
Date: Wed Feb  6 15:22:43 2013
New Revision: 1443013

URL: http://svn.apache.org/viewvc?rev=1443013&view=rev
Log:
[VFS-452] HttpFileObject read/write attributes should reflect underlying FileSystem capabilities.

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java
    commons/proper/vfs/trunk/src/changes/changes.xml

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java?rev=1443013&r1=1443012&r2=1443013&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java
Wed Feb  6 15:22:43 2013
@@ -187,6 +187,12 @@ public class HttpFileObject<FS extends H
         }
     }
 
+    @Override
+    protected boolean doIsWriteable() throws Exception
+    {
+        return false;
+    }
+
     /**
      * Lists the children of this file.
      */
@@ -201,13 +207,13 @@ public class HttpFileObject<FS extends H
         return URIUtil.encodePath(decodedPath);
     }
 
+
     @Override
     protected FileContentInfoFactory getFileContentInfoFactory()
     {
         return new HttpFileContentInfoFactory();
     }
 
-
     protected boolean getFollowRedirect()
     {
         return followRedirect;

Modified: commons/proper/vfs/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/changes/changes.xml?rev=1443013&r1=1443012&r2=1443013&view=diff
==============================================================================
--- commons/proper/vfs/trunk/src/changes/changes.xml (original)
+++ commons/proper/vfs/trunk/src/changes/changes.xml Wed Feb  6 15:22:43 2013
@@ -26,6 +26,9 @@
 <!--       <action issue="VFS-443" dev="ggregory" type="update" due-to="nickallen">
-->
 <!--     	[Local] Need an easy way to convert from a FileObject to a File. -->
 <!--       </action> -->
+      <action issue="VFS-452" dev="ggregory" type="fix" due-to="Jean-Marc Borer">
+        HttpFileObject read/write attributes should reflect underlying FileSystem capabilities.
+      </action>
       <action issue="VFS-285" dev="tn" type="fix" due-to="Kirill Safonov">
         AbstractFileObject.getChildren() may corrupt its internal state if a filename
         can not be resolved.



Mime
View raw message