Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10683

Make class Token$PrivateToken private

    XMLWordPrintableJSON

Details

    Description

      Avoid instanceof or typecasting of Toke.PrivateToken by introducing an interface method in Token. Make class Toke.PrivateToken private. Use a factory method instead.

      Attachments

        1. HDFS-10683.002.patch
          8 kB
          John Zhuge
        2. HDFS-10683.001.patch
          8 kB
          John Zhuge

        Issue Links

          Activity

            People

              jzhuge John Zhuge
              jzhuge John Zhuge
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: