commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject svn commit: r154857 - jakarta/commons/sandbox/vfs/trunk/src/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java
Date Tue, 22 Feb 2005 15:14:20 GMT
Author: imario
Date: Tue Feb 22 07:14:18 2005
New Revision: 154857

URL: http://svn.apache.org/viewcvs?view=rev&rev=154857
Log:
PR: 33690
Reported By: Rickard Oberg

use getName() instead of getDisplayName() as filename

Modified:
    jakarta/commons/sandbox/vfs/trunk/src/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java

Modified: jakarta/commons/sandbox/vfs/trunk/src/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/vfs/trunk/src/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java?view=diff&r1=154856&r2=154857
==============================================================================
--- jakarta/commons/sandbox/vfs/trunk/src/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java
(original)
+++ jakarta/commons/sandbox/vfs/trunk/src/java/org/apache/commons/vfs/provider/webdav/WebdavFileObject.java
Tue Feb 22 07:14:18 2005
@@ -46,7 +46,7 @@
  * A WebDAV file.
  *
  * @author <a href="mailto:adammurdoch@apache.org">Adam Murdoch</a>
- * @version $Revision: 1.20 $ $Date: 2005/01/11 16:07:13 $
+ * @version $Revision: 1.20 $ $Date$
  */
 public class WebdavFileObject
     extends AbstractFileObject
@@ -284,7 +284,7 @@
         {
             WebdavResource dav = children[i];
 
-            WebdavFileObject fo = (WebdavFileObject) getFileSystem().resolveFile(getName().resolveName(dav.getDisplayName(),
NameScope.CHILD));
+            WebdavFileObject fo = (WebdavFileObject) getFileSystem().resolveFile(getName().resolveName(dav.getName(),
NameScope.CHILD));
             fo.setDavResource(dav, false);
 
             vfs[i] = fo;



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message