commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject svn commit: r397210 - in /jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider: AbstractFileObject.java DelegateFileObject.java
Date Wed, 26 Apr 2006 14:45:37 GMT
Author: imario
Date: Wed Apr 26 07:45:35 2006
New Revision: 397210

URL: http://svn.apache.org/viewcvs?rev=397210&view=rev
Log:
fixed some problems with the virtual filesystem

Modified:
    jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileObject.java
    jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/DelegateFileObject.java

Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileObject.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileObject.java?rev=397210&r1=397209&r2=397210&view=diff
==============================================================================
--- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileObject.java
(original)
+++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/AbstractFileObject.java
Wed Apr 26 07:45:35 2006
@@ -1301,7 +1301,7 @@
                 injectType(newType);
 
                 removeChildrenCache();
-                children = EMPTY_FILE_ARRAY;
+                // children = EMPTY_FILE_ARRAY;
 
                 // Notify subclass
                 onChange();

Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/DelegateFileObject.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/DelegateFileObject.java?rev=397210&r1=397209&r2=397210&view=diff
==============================================================================
--- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/DelegateFileObject.java
(original)
+++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/DelegateFileObject.java
Wed Apr 26 07:45:35 2006
@@ -63,7 +63,7 @@
     public void attachChild(final FileName baseName, final FileType type) throws Exception
     {
         final FileType oldType = doGetType();
-        if (children.add(baseName))
+        if (children.add(baseName.getBaseName()))
         {
             childrenChanged(baseName, type);
         }



---------------------------------------------------------------------
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