commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (VFS-242) NamingTests - assertSameName invokes relName.replace('\\', '/'); without using return value
Date Fri, 20 Mar 2009 00:35:50 GMT

     [ 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.


Mime
View raw message