Author: joehni
Date: Tue Mar 17 19:01:18 2009
New Revision: 755352

URL: http://svn.apache.org/viewvc?rev=755352&view=rev
Log:
setupMethod must be protected to be overridden.

Modified:
    
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java
    
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java

Modified: 
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java?rev=755352&r1=755351&r2=755352&view=diff
==============================================================================
--- 
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java
 (original)
+++ 
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/http/HttpFileObject.java
 Tue Mar 17 19:01:18 2009
@@ -168,7 +168,7 @@
     /**
      * Prepares a Method object.
      */
-    void setupMethod(final HttpMethod method) throws FileSystemException, 
URIException
+    protected void setupMethod(final HttpMethod method) throws 
FileSystemException, URIException
     {
         String pathEncoded = ((URLFileName) 
getName()).getPathQueryEncoded(urlCharset);
         method.setPath(pathEncoded);

Modified: 
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java?rev=755352&r1=755351&r2=755352&view=diff
==============================================================================
--- 
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java
 (original)
+++ 
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java
 Tue Mar 17 19:01:18 2009
@@ -319,7 +319,7 @@
      * @throws FileSystemException if an error occurs encoding the uri.
      * @throws URIException if the URI is in error.
      */
-    void setupMethod(final HttpMethod method) throws FileSystemException, 
URIException
+    protected void setupMethod(final HttpMethod method) throws 
FileSystemException, URIException
     {
         String pathEncoded = ((URLFileName) 
getName()).getPathQueryEncoded(urlCharset);
         method.setPath(pathEncoded);


Reply via email to