You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by rg...@apache.org on 2009/03/20 01:34:04 UTC
svn commit: r756283 -
/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/impl/DefaultFileSystemManager.java
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())