You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Gilles Gaillard (JIRA)" <ji...@apache.org> on 2007/04/18 13:15:15 UTC
[jira] Created: (VFS-126) Implementation of compareTo in
FileSystemOptions.FileSystemOptionKey
Implementation of compareTo in FileSystemOptions.FileSystemOptionKey
--------------------------------------------------------------------
Key: VFS-126
URL: https://issues.apache.org/jira/browse/VFS-126
Project: Commons VFS
Issue Type: Bug
Reporter: Gilles Gaillard
Priority: Trivial
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org