commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adammurd...@apache.org
Subject cvs commit: jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/local LocalFile.java
Date Fri, 25 Oct 2002 11:01:33 GMT
adammurdoch    2002/10/25 04:01:33

  Modified:    vfs/src/java/org/apache/commons/vfs/provider/local
                        LocalFile.java
  Log:
  Don't assume parent directory already exists.
  
  Revision  Changes    Path
  1.7       +1 -1      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/local/LocalFile.java
  
  Index: LocalFile.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/local/LocalFile.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- LocalFile.java	24 Oct 2002 02:01:52 -0000	1.6
  +++ LocalFile.java	25 Oct 2002 11:01:33 -0000	1.7
  @@ -156,7 +156,7 @@
       protected void doCreateFolder()
           throws Exception
       {
  -        if ( !file.mkdir() )
  +        if ( !file.mkdirs() )
           {
               throw new FileSystemException( "vfs.provider.local/create-folder.error", file
);
           }
  
  
  

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


Mime
View raw message