[
https://issues.apache.org/jira/browse/VFS-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joerg Schaible updated VFS-126:
-------------------------------
Affects Version/s: 1.0
Assignee: Joerg Schaible
> Implementation of compareTo in FileSystemOptions.FileSystemOptionKey
> --------------------------------------------------------------------
>
> Key: VFS-126
> URL: https://issues.apache.org/jira/browse/VFS-126
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 1.0
> Reporter: Gilles Gaillard
> Assignee: Joerg Schaible
> Priority: Trivial
> Fix For: 2.0
>
>
> Implementation of methof FileSystemOptions.FileSystemOptionKey.compareTo is:
> public int compareTo(Object o)
> {
> FileSystemOptionKey k = (FileSystemOptionKey) o;
> int ret =
> k.fileSystemClass.getName().compareTo(k.fileSystemClass.getName());
> if (ret != 0)
> {
> return ret;
> }
> return name.compareTo(k.name);
> }
> It looks like if there is a typo and the ret value should be:
> int ret =
> fileSystemClass.getName().compareTo(k.fileSystemClass.getName());
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.