[ https://issues.apache.org/jira/browse/HDFS-4188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE updated HDFS-4188: ----------------------------------------- Hadoop Flags: (was: Incompatible change) > Add a snapshot id comparator > ---------------------------- > > Key: HDFS-4188 > URL: https://issues.apache.org/jira/browse/HDFS-4188 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: name-node > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Priority: Minor > > The Snapshot class currently has two compareTo methods. The one for comparing > IDs is not implementing the Comparable interface since Java does not allow > implementing the same interface twice with different generic types. It is > better to remove one of the compareTo methods for avoiding confusion. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira