commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r756283 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java
Date Fri, 20 Mar 2009 00:34:04 GMT
Author: rgoers
Date: Fri Mar 20 00:34:04 2009
New Revision: 756283

URL: http://svn.apache.org/viewvc?rev=756283&view=rev
Log:
Unit test for VFS-242 now passes

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java?rev=756283&r1=756282&r2=756283&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java
Fri Mar 20 00:34:04 2009
@@ -714,7 +714,7 @@
 		UriParser.fixSeparators(buffer);
 
 		// Determine whether to prepend the base path
-		if (name.length() == 0 || name.charAt(0) != FileName.SEPARATOR_CHAR)
+		if (name.length() == 0 || buffer.charAt(0) != FileName.SEPARATOR_CHAR)
 		{
 			// Supplied path is not absolute
 			if (!VFS.isUriStyle())



Mime
View raw message