[ 
https://issues.apache.org/jira/browse/VFS-242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ralph Goers resolved VFS-242.
-----------------------------

    Resolution: Fixed

The problem is caused by line 717 in DefaultFileSystemManager where it 
determines whether to prepend the base path by checking to see if the name 
starts with FileName.SEPARATOR_CHAR, which is defined to be '/'.  In line 714 
the name has been "adjusted" into buffer but buffer was not used in the test on 
717. I changed that and the tests now pass.

> NamingTests - assertSameName invokes relName.replace('\\', '/'); without 
> using return value
> -------------------------------------------------------------------------------------------
>
>                 Key: VFS-242
>                 URL: https://issues.apache.org/jira/browse/VFS-242
>             Project: Commons VFS
>          Issue Type: Bug
>            Reporter: Sebb
>
> NamingTests - assertSameName invokes relName.replace('\\', '/'); without 
> using return value.
> So the test does not change the string.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to