Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22491

Use Collections emptyList

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 4.0.0-alpha-1
    • None
    • None

    Description

      https://docs.oracle.com/javase/8/docs/api/?java/util/Collections.html

      Use Collections#emptyList instead of instantiating empty ArrayLists

      Attachments

        1. HIVE-22491.1.patch
          23 kB
          David Mollitor
        2. HIVE-22491.2.patch
          23 kB
          David Mollitor
        3. HIVE-22491.3.patch
          23 kB
          David Mollitor
        4. HIVE-22491.4.patch
          24 kB
          David Mollitor

        Activity

          People

            belugabehr David Mollitor
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: