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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]