Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • Snapshot (HDFS-2802)
    • namenode
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. h4188_20121113.patch
          5 kB
          Tsz-wo Sze
        2. h4188_20121114.patch
          8 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: