Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15223

Replace Collections.EMPTY* with empty* when available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.0
    • None
    • Reviewed

    Description

      The use of Collections.EMPTY_SET and Collections.EMPTY_MAP often causes unchecked assignment and it should be replaced with Collections.emptySet() and Collections.emptyMap()

      Attachments

        1. HADOOP-15223.005.patch
          25 kB
          fang zhenyi
        2. HADOOP-15223.004.patch
          25 kB
          fang zhenyi
        3. HADOOP-15223.003.patch
          25 kB
          fang zhenyi
        4. HADOOP-15223.002.patch
          17 kB
          fang zhenyi
        5. HADOOP-15223.001.patch
          6 kB
          fang zhenyi

        Activity

          People

            zhenyi fang zhenyi
            aajisaka Akira Ajisaka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: