You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by im...@apache.org on 2006/04/26 16:19:36 UTC
svn commit: r397202 -
/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/local/LocalFile.java
Author: imario
Date: Wed Apr 26 07:19:34 2006
New Revision: 397202
URL: http://svn.apache.org/viewcvs?rev=397202&view=rev
Log:
fixed regression where the rootFile wasnt used to build the local filename
Modified:
jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/local/LocalFile.java
Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/local/LocalFile.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/local/LocalFile.java?rev=397202&r1=397201&r2=397202&view=diff
==============================================================================
--- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/local/LocalFile.java (original)
+++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/local/LocalFile.java Wed Apr 26 07:19:34 2006
@@ -69,7 +69,8 @@
if (file == null)
{
// Remove the "file:///"
- String fileName = getName().getPathDecoded();
+ LocalFileName localFileName = (LocalFileName) getName();
+ String fileName = localFileName.getRootFile() + getName().getPathDecoded();
// fileName = UriParser.decode(fileName);
file = new File(fileName);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org